Helo there,
Because i saw that many ones ddon't know how to do a simple clea code, i decided to make a basic optmized and clean GM.
This one was done for the French section and won't get translated by myself !
Latest InDev version:
Unammed
Latest stable realease:
V 0.3
Pastebin
DDL
MultiUpload
Library
dudb is requied.
If you like my work, a rep' point is welcome \(>o<)/
ChangeLogs
Quote:
V 0.1 - 24/04/12 - Registering + Base Admin (kick, ban, TP, setadmin) + VoteKick + SafeGivePlayerMoney()
V 0.1.1 24/04/12 - +PM Spec for admins + Admins can set-up the server IG + autologin
V 0.2 - 25/04/12 - + Update system
V 0.3 - 26/04/12 - Optimizing with use of stock functions instead of public ones
|
Added Functions
Quote:
AreStringsEquals(string1, string2)
|
return: true if equals, false else.
return: true if he's, false else.
Return adminRank.
Quote:
SetAdminRank(playerid, aRank)
|
Set player adminRank.
Quote:
SafeGivePlayerMoney(playerid, ammount)
|
...
Quote:
IsPlayerLoguedIn(playerid)
|
reurn: true if he's, false else.
Added Callbacks
Called on login sucefull (not called on login failed!)
Quote:
OnPlayerRegister(playerid)
|
ACalled on registering sucefull (not called on registering failed!)
Quote:
OnPlayerVoteKick(playerid)
|
Called when a player attemp "votekick"
Quote:
OnHTTPRespond(index, response_code, data[])
|
Called whenever HTTP() is called
See below
thread(eng),
samp wiki(eng).
To be sure to get the latest realese, please take a look at the French section!
Nice gamemode I checked the gamemodes and its code its pretty cool and your GM is clean..
new version (0.3).
Tu as oubliйe de traduire une phrase: "Lorsqu'un joueur tente un "votekick""