06.05.2011, 19:48
How do I make this code to check whether your car before you says "You have successfully removed the vehicle."?
Код:
if(strcmp(cmd, "/destroycar", true)== 0) { if(PlayerInfo[playerid][pAdmin] > 1) { new removeVeh = GetPlayerVehicleID(playerid); SendClientMessage(playerid, COLOR_GRAD1, "You have successfully removed the vehicle."); DestroyVehicle(removeVeh); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "You are not an admin!"); } }