31.05.2017, 18:01
Hi all, i need help with the Callback "DestoyVehicle" Because I have succeded to make it work but only with GetPlayerVehicleID but I need to use it without player in the vehicle for my crusher system.
Here is the method I use:
Tanks for you help.
Here is the method I use:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext,"/fb", true)) { new Float:x, Float:y, Float:z; new idcar; idcar = GetVehiclePos(idcar, x, y, z); DestroyVehicle(idcar); GameTextForPlayer(playerid, "Vehicule broyer!", 3500, 1); } }