SA-MP Forums Archive
Can i Convert Filter Script To Game mod? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can i Convert Filter Script To Game mod? (/showthread.php?tid=409922)



Can i Convert Filter Script To Game mod? - bathushan - 23.01.2013

Hello all,
Today i tried to download some FS. They ware Good and Works Fine.
But i Got a Small Question or els.

1. Can i Convert FS to GM ? If Yes How ?
2. If i Add more FS, It Gives any Problame To Server?
3. For Most FS. You have to Login As RCON Admin. It is posible to Set them for normal Admins Also ?

Thankyou That you Click And Read. I'll be More Thankfull When you help me out.


Re: Can i Convert Filter Script To Game mod? - Shabi RoxX - 23.01.2013

1: Yes you can convert it, just copy necessary codes from FS to GM.
2: No they don't
3: Yeah create your known admin system for them.


AW: Can i Convert Filter Script To Game mod? - Blackazur - 23.01.2013

1. Yep.
2. No.
3. I think yes.


Re: Can i Convert Filter Script To Game mod? - bathushan - 23.01.2013

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
1: Yes you can convert it, just copy necessary codes from FS to GM.
2: No they don't
3: Yeah create your known admin system for them.
Thankyou! I'll Try it out. (1)

for 3. If i just copy them to GM. then Also i have to login as RCON to Acces them ? or my Current GM Admin system will works ?


Re: Can i Convert Filter Script To Game mod? - Shabi RoxX - 23.01.2013

Quote:
Originally Posted by bathushan
Посмотреть сообщение
Thankyou! I'll Try it out. (1)

for 3. If i just copy them to GM. then Also i have to login as RCON to Acces them ? or my Current GM Admin system will works ?
If you still use IsPlayerAdmin then it means Rcon admin.

Like:
pawn Код:
if(IsPlayerAdmin(playerid))//checking rcon admin
{
//codes
}
Make it:
pawn Код:
//use your admin variable, let me create/explain here
new Admin[MAX_PLAYER]; // Admin array for each and every player

//let suppose we have a cmd to set Admin[playerid] to a integer
if(Admin[playerid] == 5) // may be it means level 5 admin
{
//codes
}