26.04.2012, 02:51
(
Последний раз редактировалось jujuv; 26.04.2012 в 18:50.
)
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
Added Functions
return: true if equals, false else.
return: true if he's, false else.
Return adminRank.
Set player adminRank.
...
reurn: true if he's, false else.
Added Callbacks
Called on login sucefull (not called on login failed!)
ACalled on registering sucefull (not called on registering failed!)
Called when a player attemp "votekick"
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!
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)
|
Quote:
IsAdmin(playerid)
|
Quote:
GetAdminRank(playerid)
|
Quote:
SetAdminRank(playerid, aRank)
|
Quote:
SafeGivePlayerMoney(playerid, ammount)
|
Quote:
IsPlayerLoguedIn(playerid)
|
Added Callbacks
Quote:
OnPlayerLogin(playerid)
|
Quote:
OnPlayerRegister(playerid)
|
Quote:
OnPlayerVoteKick(playerid)
|
Quote:
OnHTTPRespond(index, response_code, data[])
|
See below thread(eng), samp wiki(eng).
To be sure to get the latest realese, please take a look at the French section!