How to destroy a vehicle?
#2

pawn Код:
new myvehicle

pawn Код:
public OnGameModeInit(playerid)
{
        myvehicle = CreateVehicle(blah,blah,blah);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     if(strcmp(cmdtext, "/destroyveh", true) == 0)
     {
          DestroyVehicle(myvehicle);
          return 1;
      }
      return 0;
}
Reply


Messages In This Thread
How to destroy a vehicle? - by ShawtyyMacJunior - 24.12.2012, 22:11
Re: How to destroy a vehicle? - by [CG]Milito - 24.12.2012, 22:13
AW: How to destroy a vehicle? - by Blackazur - 24.12.2012, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)