#7

Then, do a debugging.

PHP код:
public OnPlayerPickUpPickup(playeridpickupid)  
{  
    if(
pickupid == Pickups[0]) 
    { 
        print(
"pickup 1");
        
ChangeVehicle(playerid451); 
        return 
1
    } 
    else if(
pickupid == Pickups[1]) 
    {
        print(
"pickup 2");
        
ChangeVehicle(playerid411); 
        return 
1
    } 
    return 
1;  

Reply


Messages In This Thread
help - by BFire - 21.09.2018, 20:50
Re: help - by kingmk - 21.09.2018, 21:31
Re: help - by BFire - 21.09.2018, 22:26
Re: help - by Mazio - 22.09.2018, 01:22
Re: help - by Undef1ned - 22.09.2018, 02:46
Re: help - by BFire - 22.09.2018, 09:27
Re: help - by Undef1ned - 22.09.2018, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)