14.08.2009, 02:52
I' m trying to make a DeleteCar command but it doesn't work.... can some one
post me the commands codes please!
post me the commands codes please!
if(strcmp(cmdtext, "/delcar", true, 5) == 0) {
if(PlayerData[playerid][AdminLevel] >= 3)
if(IsPlayerInAnyVehicle(playerid))
{
DestroyVehicle(GetPlayerVehicleID(playerid));
}
else
{
SendClientMessage(playerid,COLOR_RED,"[Server] Must Be In A Car!");
}
return 1;
}