Transport wood
#1

Hy all !
I have a problem.
I make a dialog to transport wood, look:
PHP код:
if(dialogid == DIALOG_TRANSPORTWOOD)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                new 
CarWood CreateVehicle(411,-431.8788,-1410.3784,22.0100,0,0,0,0);
                
PutPlayerInVehicle(playerid,CarWood,0);
            
            
                
DisablePlayerCheckpoint(playerid);
            
            
            }
        }
        return 
1;
    } 
And when player exit the vehicle to destroy vehicle i make this:

PHP код:
public OnPlayerExitVehicle(playeridvehicleid
And i add this
PHP код:
 DestroyVehicle(CarWood); 
BUT NOT WORK ! Why ? Can help me ?
Reply


Messages In This Thread
Transport wood - by Sn4ke2 - 07.06.2015, 05:39
Re: Transport wood - by FplayerGR - 07.06.2015, 05:46
Re: Transport wood - by Sn4ke2 - 07.06.2015, 06:26

Forum Jump:


Users browsing this thread: 2 Guest(s)