Car god mode
#1

Well, I tried making a command to set a car invicible, but its giving me this error:
D:\SAMP\gamemodes\MMM.pwn(14910) : error 017: undefined symbol "vehicleid"
What would be the smartest way to get the id of the vehicle the person currently is in?
pawn Код:
if(strcmp(cmdtext,"/cargodmode",true) == 0)
    {
    GetPlayerVehicleID(playerid);
    SetVehicleHealth(vehicleid, 10000000000);
    SendClientMessage(playerid,COLOR_ARED, "Vehicle made indestructable");
    }
    return 1;
 }
Reply


Messages In This Thread
Car god mode - by McCarthy - 29.06.2011, 12:26
Re: Car god mode - by SmileyForCheat - 29.06.2011, 12:35
Re: Car god mode - by VivianKris - 29.06.2011, 12:35
Re: Car god mode - by McCarthy - 29.06.2011, 12:42
Re: Car god mode - by King Ace - 29.06.2011, 13:25
Re: Car god mode - by Shadoww5 - 29.06.2011, 13:39
Re: Car god mode - by [MG]Dimi - 29.06.2011, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)