19.12.2015, 14:57
XMAS GIFT SYSTEM
I was bored, and yesterday i got an idea,
to create a Christmas Update for my Server.
I spent 2 hours, for this Filterscript and Include.
I know it is an easy filterscript, but like i said i was bored and this is my first filterscript,
for SA-MP Forum.
Pictures are bottom of the post.
to create a Christmas Update for my Server.
I spent 2 hours, for this Filterscript and Include.
I know it is an easy filterscript, but like i said i was bored and this is my first filterscript,
for SA-MP Forum.
Pictures are bottom of the post.
[
COMMANDS
/adminme - Use this cmd after u load the filterscript to set urself admin
/creategift - This will spawn a gift at your location
/agift -This will give random gifts to all players
Tutorial
Open your server.cfg and add halloween on filterscript-line
The server saves how many gifts a player got from admins and how many gifts the player found.
Download halloween.inc and move it to \pawno\include\.
You can use this include in your Gamemode, or filterscript.
Download
My Site: http://abhaysv.co.in/downloads/xmas.rar
PasteBin http://pastebin.com/hb4B8tpV
Credits
Skimmer (For Halloween Script)
SA-MP Team (For SA-MP)
CrazyBob (For the idea)
RoamPT (For Zone System)
My Server
Pictures
/adminme - Use this cmd after u load the filterscript to set urself admin
/creategift - This will spawn a gift at your location
/agift -This will give random gifts to all players
Tutorial
Open your server.cfg and add halloween on filterscript-line
Code:
filterscripts halloween
Code:
GetPlayerGiftReceiveds(playerid) // Returns how many gifts has got the player from admins GetPlayerGiftFounds(playerid) // Returns how many gifts has found the player
You can use this include in your Gamemode, or filterscript.
Code:
#include <halloween>
My Site: http://abhaysv.co.in/downloads/xmas.rar
PasteBin http://pastebin.com/hb4B8tpV
Credits
Skimmer (For Halloween Script)
SA-MP Team (For SA-MP)
CrazyBob (For the idea)
RoamPT (For Zone System)
My Server
Pictures