Simple help
#1

I created a money drop.

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    new 
Float:x,Float:y,Float:z;
    
ResetPlayerMoney(playerid);
      
GetPlayerPos(playerid,x,y,z);
    
cash CreatePickup(1212,3,x,y,z);
    
cash2 CreatePickup(1212,3,x+1,y,z);
    
cash3 CreatePickup(1212,3,x-1,y,z);
    
cash4 CreatePickup(1212,3,x,y+1,z);
    
cash5 CreatePickup(1212,3,x,y-1,z);

The problem is:

I pick the money up but after I died again, the money will stay in that position. So it has to be destroyed after picking it up.

Who can help me?
Reply


Messages In This Thread
Simple help - by Fantje - 23.07.2016, 18:28
Re: Simple help - by K0P - 23.07.2016, 18:32
Re: Simple help - by Stinged - 23.07.2016, 18:36
Re: Simple help - by Fantje - 23.07.2016, 18:47
Re: Simple help - by Stinged - 23.07.2016, 19:09
Re: Simple help - by Fantje - 23.07.2016, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)