Help In scripting a giftbox system
#1

Hey guys, I just wanted to make something very basic for my script. And that was a giftbox system.
If anyone can help , I will give them rep + Donater status permantly when my server is up. ( Soon )

Admin Commands: /setbox , /destroybox [id]
Player Commands: /getgift

Reward Message:
Congrats! - You won a free [guns]
Congrats! - You recived $[money]
Congrats! - You got *amount* more [pot or crack]

So it just places the box down and shows the object.
Here are the rewards

GiveZaiatMoney(playerb, 100000);
GiveZaiatMoney(playerb, 1000000);
GiveZaiatMoney(playerb, 50000);
GiveZaiatWeapon(playerid, 27, 60000);
GiveZaiatWeapon(playerid, 24, 60000);
GiveZaiatWeapon(playerid, 31, 60000);
GiveZaiatWeapon(playerid, 34, 60000);
GiveZaiatWeapon(playerid, 29, 60000);
PlayerInfo[playerb][pWeed] = 100;
PlayerInfo[playerb][pCrack] = 100;


Thank you in advance to who ever can do this for me. Youd mean alot! <3
Reply
#2

So people just go up to it and /getgift, and it randomaly gives them stuff?
Reply
#3

Yes, =D. if in range of the box.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)