Help Me Guys With IsPlayerAdmin
#1

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
Reply
#2

Remove
#include <IsPlayerAdmin>
or
#include <IsPlayerLAdmin>
Reply
#3

#include the ladmin include
and then
pawn Код:
If(IsPlayerLadmin(playerid))
{
// some codes here
}
else
{
SendClientMessage(playerid, color, "message");
}
Reply
#4

I am guessing you should include the ladmin include at the top of your script like so,
Код:
#include <ladmin>
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)