Help me!
#5

Parameters of CreatePickup(model, type, Float:X, Float:Y, Float:Z, virtualworld)
Set type to 3 : Disappears after pickup, respawns after death.
By the way you can optimize your code.
PHP код:
public OnPlayerPickUpPickup(playeridpickupid
{
    switch(
pickid)
    {
        case 
cash GivePlayerMoney(playerid,100); 
        case 
cash2 GivePlayerMoney(playerid,100); 
        
        case 
cash3 GivePlayerMoney(playerid,100); 
        
        case 
cash4 GivePlayerMoney(playerid,100); 
        case 
cash5 GivePlayerMoney(playerid,100); 
    }
    return 
1

Reply


Messages In This Thread
Help me! - by Fantje - 23.07.2016, 21:15
Re: Help me! - by Fantje - 23.07.2016, 22:02
Re: Help me! - by Rockefeller - 23.07.2016, 23:05
Re: Help me! - by Fantje - 23.07.2016, 23:25
Re: Help me! - by Dayrion - 24.07.2016, 03:41

Forum Jump:


Users browsing this thread: 2 Guest(s)