Destroy cars command
#1

Im having a little problem creating this destroycreatedcars cmd.
I want it to Destroy all vehicles above ID 348(thats ID of new cars spawned by admins), but it dosent work at all
Can anyone give me a little help to solve my little problem?

if(strcmp(cmd, "/destroycreatedcars", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >=
{
new cardid= GetPlayerVehicleID(playerid);
new spawnedcar = carid >=348;
DestroyVehicle(spawnedcar);
return 1;
}

}
Reply


Messages In This Thread
Destroy cars command - by Richie - 22.04.2010, 13:14
Re: Destroy cars command - by M4S7ERMIND - 22.04.2010, 13:31
Re: Destroy cars command - by Richie - 22.04.2010, 19:17
Re: Destroy cars command - by GTAguillaume - 22.04.2010, 19:21
Re: Destroy cars command - by Richie - 22.04.2010, 19:29
Re: Destroy cars command - by GTAguillaume - 22.04.2010, 19:47
Re: Destroy cars command - by Joe Staff - 22.04.2010, 19:48
Re: Destroy cars command - by Richie - 22.04.2010, 19:58
Re: Destroy cars command - by M4S7ERMIND - 22.04.2010, 20:49
Re: Destroy cars command - by Nero_3D - 22.04.2010, 20:58

Forum Jump:


Users browsing this thread: 5 Guest(s)