10.06.2013, 14:38
Hello guys, im have RP server and there Family/gangs cars...im make this command to remove the car But when I enter the car and tybe /destroy the car Deleted But when Restart server or Close the black windows and reopen the cars back... Help me please This the command what I have or who have another command give me
Thanks for Healpers!!
pawn Код:
CMD:destroyv(playerid, params[])
{
new pName[MAX_PLAYER_NAME];
new string[256]; // ; was missing
new testcar= GetPlayerVehicleID(playerid);
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Information]: %s has Destroyed a Vehicle !", pName);
SendClientMessageToAll(0xFFFFFFFF, string);
DestroyVehicle(testcar);
return 1;
}