Delete Car Command Help
#1

Is it posible to make a command to delete a vehicle?
Reply
#2

Quote:
Originally Posted by Smiths
Is it posible to make a command to delete a vehicle?
i got this code but it doesn't work ...

Код:
	if(strcmp(cmd, "/delcar", true) == 0) {
		SendPlayerFormattedText(playerid,"Vehicle Deleted,0);
  return 1;
}
euh srry for the double posting...
Reply
#3

Maybe GetPlayerVehicleId
Then removeplayerfromvehicle
Then Explode the car some how XD
Reply
#4

pawn Код:
if(!strcmp(cmdtext, "/delcar", true)) return DestroyVehicle(GetPlayerVehicleID(playerid));
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)