Help Me Guys With IsPlayerAdmin - 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: Help Me Guys With IsPlayerAdmin (
/showthread.php?tid=147602)
Help Me Guys With IsPlayerAdmin -
Killerr1234 - 13.05.2010
Hey All Please Help Me i Need Make SOme Command For Admin I Cant Do IsPlayerLAdmin I Need Do IsPlayerAdmin FOr All admin Mod Work But I Cant Its Give Me 1 Error ANd its Cant Read From <IsPlayerAdmin>
Help Me Please And SHow Me WHatr i DO For Work
Re: Help Me Guys With IsPlayerAdmin -
Retardedwolf - 13.05.2010
Remove
#include <IsPlayerAdmin>
or
#include <IsPlayerLAdmin>
Re: Help Me Guys With IsPlayerAdmin -
ViruZZzZ_ChiLLL - 13.05.2010
#include the ladmin include
and then
pawn Код:
If(IsPlayerLadmin(playerid))
{
// some codes here
}
else
{
SendClientMessage(playerid, color, "message");
}
Re: Help Me Guys With IsPlayerAdmin -
DJDhan - 13.05.2010
I am guessing you should include the ladmin include at the top of your script like so,
You should have this at the top of your gamemode script.
If you are using Lux Admin then that's the way. ofcourse with (IsPlayerLuxAdmin9playerid).
But if your using Ladmin then i forgot if an include comes with it....i don't think so.
If you want to make a command for Ladmin then make it in the LAdmin filterscript instead of your gamemode that's all
EDIT: If you use IsPlayerAdmin, then only RCON admins can use that command