please help admin class - 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: please help admin class (
/showthread.php?tid=340582)
please help admin class -
Toby_Manley - 07.05.2012
i am making a drifting server and i need help with admin class i want admins to do roadblocks and spikes,and they get a police skin i need help coding it?
Thanks
Toby
Re: please help admin class -
Kudoz - 07.05.2012
http://lmgtfy.com/?q=WIKI+SAMP+admin
Re: please help admin class -
Toby_Manley - 07.05.2012
i wanna make a class/fraction only one for the admin on my server and i want them to have the police skin and only admins can do the roadblock commands and taze and that please help
Re: please help admin class -
Kudoz - 07.05.2012
place this under OnPlayerConnect
{
if(isPlayerAnAdmin(playerid,1))
{
SetPlayerSkin(playerid, 280);
return 1;
}
thats the skin.. ? if thats what ur meaning?
Re: please help admin class -
Toby_Manley - 07.05.2012
were do i put that and i how do i put commands so eg if i only wanted admins to see /help what do i do?
Re: please help admin class -
Toby_Manley - 07.05.2012
this is a bit of the /help
Quote:
if(strcmp(cmd, "/cmds", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "****************************************[Boss DRIFTERZ]********************************************");
|