SA-MP Forums Archive
How to do it?...go inside... - 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: How to do it?...go inside... (/showthread.php?tid=69245)



How to do it?...go inside... - @Sp1derPIg@ - 16.03.2009

Hey There...
I have a Special admin skin...
But problem is that
Код:
IsPlayerAdmin
Is only Rcon admins..
I want it to be all admins that are logged...
If its Helping or something im using SeifAdmin System...
The Code is
Код:
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 287)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid, -2495.0449, 2773.0566, 10.8158);
    GivePlayerMoney(playerid, 500000000000);
SendClientMessage(playerid, 0xFF0000FF, "You Got The Admin Skin!");
SendClientMessage(playerid, 0xFF0000FF, "Dont Give it to anyone else and if you not admin we will track you!");
} else {
SendClientMessage(playerid, 0xFF0000FF,"***ONLY ADMINS MAY USE THIS SKIN, PLEASE CHOOSE AGAIN***");
SetPlayerHealth(playerid,0.0);
ForceClassSelection(playerid);
}
}
return 1;
}
I Hope you can make it all admins
Sry 4 being noob..


Re: How to do it?...go inside... - brett7 - 16.03.2009

seif admin script uses dini i think so you got to check in the dini files but i'm not really sure


Re: How to do it?...go inside... - @Sp1derPIg@ - 16.03.2009

HELP ME SOMEONE ITS IMPORTANT!!!!!!
WHY NO ONE ANSWER?!?!?!?