Need help making a small surprise box system for X-MAS
#4

If I were you I would find a box looking object and add the object somewhere in San Andreas were your server is based. Then the player can go up and do something like /openpresent or something and they get their gift.

You would have to use:
CreateObject - http://www.wiki.sa-mp.com/wiki/CreateObject - (To make the gift box)
IsPlayerInRangeOfPoint - http://www.wiki.sa-mp.com/wiki/IsPlayerInRangeOfPoint - (To make sure they're near the giftbox)

Make the command to give them their gift whatever it is... Money... Guns... Armor... etc.
After they use a command save a variable saying they've already opened their Christmas gift.

Then you're done
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)