Pickup Minigame
#1

Hi all, i am trying to make Pickup hunt Minigame
about game :
Server is spawning pickup on 1 location, when someone pickup the pickup server respawns the pickup at another location at 60seconds.
- Pickup Hunt - Pickup has been spawned near Motel Jefferson. Find him and you will get +1 score and 50000$.
So what is the problem, to me?
I dont know how to make that server makes only 1 pickup and when a player pickup that pickup that it respawns to another position.
Please help me. I will share the Minigame to you all
Reply
#2

You create a pickup, then under OnPlayerPickUpPickup(Or something like this):
pawn Код:
if(pickupid == UrPickupId)
    {
        DestroyPickup(UrPickupId);
        AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
        return 1;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)