06.05.2011, 20:41
pawn Код:
if(strcmp(cmd, "/destroycar", true)== 0)
{
if(PlayerInfo[playerid][pAdmin] > 1)
{
if(!IsPlayerInAnyVehicle(playerid))
return SendClientMessage(playerid, COLOR_GRAD1, "You're not in the vehicle! ");
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!");
}
