SA-MP Forums Archive
Gamemode - Admin script connection help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gamemode - Admin script connection help (/showthread.php?tid=228222)



Gamemode - Admin script connection help - UtkUguR - 19.02.2011

I have Premium A/D gamemode and this script doesn't have any .pwn file so I cannot add admin script into the gamemode. When I'm using admin script as a filterscript, how can I provide connection of gamemode and this script.
I mean "/start base" cmd exists in my gamemode but only rcon can operate it. So I want to add it into the filterscript and when a player is 2 level admin, this player can use "/start base" cmd.

Thanks in advanced.


Re: Gamemode - Admin script connection help - YungGee - 19.02.2011

Quote:
Originally Posted by UtkUguR
Посмотреть сообщение
I want to add it into the filterscript and when a player is 2 level admin, this player can use "/start base" cmd.
You need the .pwn file of the Admin Filterscript to open/implement that function..

EDIT:

Then compile the script into a .amx file containing the feature you desire..


Re: Gamemode - Admin script connection help - UtkUguR - 19.02.2011

You couldn't get the point. I already have Admin script's .pwn and .amx. I just want to make gamemode is connected with filterscript.


Re: Gamemode - Admin script connection help - Mean - 19.02.2011

You need to connect them manually. Copy-Paste. Also, WHY would you even put them together?


Re: Gamemode - Admin script connection help - maramizo - 19.02.2011

You can just use them as separate game mode and filterscript.
You can copy paste them together but you must place them in same public locations/stocks/defines etc.