View Single Post
Old 31/05/2017, 06:20 PM   #5
skuller12
Big Clucker
 
Join Date: Feb 2015
Location: Galati, Romania
Posts: 101
Reputation: 0
Default Re: How to use "DestroyVehicle" whitout player in vehicle?

Top:

native IsValidVehicle(vehicleid);

After in ZCMD:

Code:
CMD:fb(playerid, params[])
{
new v;
if(sscanf(params, "i", v)) return SendClientMessage(playerid, -1, "/fb <car id>");
if(!IsValidVehicle(v)) return 1;
DestroyVehicle(v);
 return 1;
}
skuller12 is offline   Reply With Quote