04.04.2012, 00:10
Quote:
Okay and what do I do ingame to delete the vehicles? Anything to type in for example /destroycar or /destroyv?
|
pawn Код:
if(strcmp("/destroyv", cmdtext, true) == 0)
{
new pName[MAX_PLAYER_NAME];
new string[256]
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Information]: %s has Destroyed one Vehicle!", pName);
SendClientMessageToAll(0xFFFFFFFF, string);
DestroyVehicle(VehicleID[playerid]);
return 1;
}