How to delete cars/vehicles? +REP!
#4

Quote:
Originally Posted by TheMightyEddy
Посмотреть сообщение
Okay and what do I do ingame to delete the vehicles? Anything to type in for example /destroycar or /destroyv?
Yes. Use this code example :

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;
}
Reply


Messages In This Thread
How to delete cars/vehicles? +REP! - by TheMightyEddy - 03.04.2012, 23:20
Re: How to delete cars/vehicles? +REP! - by .FuneraL. - 03.04.2012, 23:41
Re: How to delete cars/vehicles? +REP! - by TheMightyEddy - 03.04.2012, 23:57
Re: How to delete cars/vehicles? +REP! - by .FuneraL. - 04.04.2012, 00:10
Re: How to delete cars/vehicles? +REP! - by TheMightyEddy - 04.04.2012, 01:33
Re: How to delete cars/vehicles? +REP! - by Reklez - 04.04.2012, 01:35
Re: How to delete cars/vehicles? +REP! - by TheMightyEddy - 04.04.2012, 01:40
Re: How to delete cars/vehicles? +REP! - by Reklez - 04.04.2012, 01:42
Re: How to delete cars/vehicles? +REP! - by TheMightyEddy - 04.04.2012, 01:51
Re: How to delete cars/vehicles? +REP! - by Reklez - 04.04.2012, 01:54

Forum Jump:


Users browsing this thread: 1 Guest(s)