[URGENT]How to respawn destroyed pickup ? I give rep ++
#4

Quote:

Use pickup type 2
*Disappears after pickup, respawns after 30 seconds if the player is at a distance of at least 15 meters.
pawn Код:
new Pickup1;

Public OnGameModeInit()
{
       Pickup1 = CreatePickup(1242, 2, 1807.5726,-1863.8295,13.5814, -1);
       return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Pickup1)
    {
        playeraccount[playerid][Money] += 100000;
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)