18.09.2014, 18:39
(
Last edited by Maro06; 24/09/2014 at 02:37 PM.
)

Hello, since I was a newbie, I wanted to make a system like this, but I didn't understand how to save with mysql or INIs, And now, I understood, So I scripted it, and now releasing.
I started working on the filterscript since 9/13/2014.
The filterscript consists of Register/Login/Admin/VIP Systems with MySQL Saving, I used MySQL R39 Plugin.
Version 1:
Administrator Command(s)
Code:
Level 1 command(s): /goto /god /jetpack /burn /amsg /visible /invisible /kick /warn /slap /startevent /closeevent
Code:
Level 2 command(s): /ban /move /freeze /unfreeze /time Plus level 1 command(s)
Code:
Level 3 command(s): /givejetpack /announce /eject /akill /explode Plus level 1 & level 2 command(s)
Code:
Level 4 command(s): /sethealth /setarmor /armorall /healall /setskin Plus level 1 & level 2 & level 3 command(s)
Code:
Level 5 command(s): /setscore /setcash /fakechat /setallcash /setallworld /disarmall /explodeall /slapall /kickall /setinterior /setworld /setvip /setlevel /restart Plus level 1 & level 2 & level 3 & level 4 command(s)
pawn Code:
CMD:yourcmd( playerid, params[ ] )
{
if( pInfo[playerid][Admin] < 1 ) return SendClientMessage(playerid, COLOR_RED ,"Unauthorized Permissions"); // The "1" refers to level 1 or higher, you can edit it to your own
//your cmd
return 1;
}
Code:
/vjetpack /hydra /skin
pawn Code:
CMD:yourcmd( playerid, params[ ] )
{
if( pInfo[playerid][VIP] < 1 ) return SendClientMessage(playerid, COLOR_RED ,"You must be VIP to use this command"); // The "1" refers to level 1 or higher, you can edit it to your own
//your cmd
return 1;
}
newbienoob - MySQL Tutorial
xkirill - Helping me fixing some bugs
Zeex - zcmd include
Y_less - foreach
Y_less - sscanf
Mirrors are not allowed.
Feel free to take pictures and post them here.
