~Auta i ostalo~

Započeo Obrisan korisnik
7. Jul 2010.
1,027
pregleda
5
postova
Deleted User
Obrisan korisnik
7. Jul 2010.
Imam jedan problem, kada udjem u auto on me izbaci ocu to da izbacim iz skripte ali neznam sta da obrisem jer kada obrisem taj jedan deo dobijem 26 erora evo koda
if(newstate == PLAYER_STATE_DRIVER) //buggy dont finnish
{// 38 / 49 / 56 = SS
new newcar = GetPlayerVehicleID(playerid);
new oldcar = gLastCar;
new housecar = PlayerInfo+1;
TelePos = 0.0;
TelePos = 0.0;
if(IsABoat(newcar))
{
    if(PlayerInfo < 1)
{
    SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Sail yet, so you left the Boat !");
        RemovePlayerFromVehicle(playerid);
}
}
else if(IsAPlane(newcar))
{
    if(PlayerInfo < 1)
{
    if(TakingLesson == 1) { }
    else {
    SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Fly yet, so you left the Plane !");
    RemovePlayerFromVehicle(playerid); }
}
}
else
{
if(PlayerInfo < 1)
{
    if(PlayerDrunk >= 5)
{
    WantedPoints += 1;
SetPlayerCriminal(playerid,255, "Drunk Driving");
}
if(TakingLesson == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Drive yet, so you left the Car !");
                RemovePlayerFromVehicle(playerid); }
}
else if(PlayerDrunk >= 5)
{
    WantedPoints += 1;
SetPlayerCriminal(playerid,255, "Drunk Driving");
}
}//Done with car check

Sta treba da obrisem da me nebi izbacivao iz vozila jer ovo removeplayerfromvechicle kada obrisem on mi izacuje 26 erora
Milan_Jeftic
4
Shot Caller
7. Jul 2010.
E OVAKO....to ti je zbog licenc sistema....probaj da brises ovako:
if(PlayerInfo < 1)
{
    SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Sail yet, so you left the Boat !");
        RemovePlayerFromVehicle(playerid);
}
.
brisi to jer ga to izbacijue iz broda ako nema licence onda
if(PlayerInfo < 1)
{
    if(TakingLesson == 1) { }
    else {
    SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Fly yet, so you left the Plane !");
    RemovePlayerFromVehicle(playerid); }
}

to ga izbacijue iz aviona
i jos ovo:
if(TakingLesson == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "  You don't know how to Drive yet, so you left the Car !");
                RemovePlayerFromVehicle(playerid); }


eto izbrisi to i sa srecom 😄DD
Deleted User
Obrisan korisnik
7. Jul 2010.
sad jos gore sada prestali erori i kada udjem u auto on nista nepokaze nikakvu poruku normalno jer sam izbrisao taj deo ali me i dalje izbacuje.
Milan_Jeftic
4
Shot Caller
7. Jul 2010.
sad sam se sjetio kako sam to rjesio:mozda je glupa ali sam isto pocetnik pa sam tako uradio...napravio sam zapravo da svako na pocetku kad se rega ima vozacku ☹️((((((( jer nisam znao sta da uradim 🙂)
Deleted User
Obrisan korisnik
8. Jul 2010.
😄 pa ja bi da izbrisem ne da im dam licence 😄 😛

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha