please help
#1

Код:
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\filterscripts\race.pwn(386) : error 017: undefined symbol "IsPlayerLuxAdm"
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\filterscripts\race.pwn(396) : error 017: undefined symbol "IsPlayerLuxAdm"
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\filterscripts\race.pwn(407) : error 017: undefined symbol "IsPlayerLuxAdm"
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\filterscripts\race.pwn(424) : error 017: undefined symbol "IsPlayerLuxAdm"
C:\Documents and Settings\Prabhat\Desktop\World Stunting         V1.3.5\filterscripts\race.pwn(435) : error 017: undefined symbol "IsPlayerLuxAdm"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
I used these headers
Код:
#include <ladmin>
#include <a_samp>
#include <dini>
#include <zcmd>
Showing these errors how to resolve
Reply
#2

Quote:
Originally Posted by LethaL
Посмотреть сообщение
Using Player Admin Level in another filterscript or gamemode
1. Put the file IsPlayerLAdmin.inc in your includes folder
2. add the following line to the top of your gamemode
pawn Код:
#include <IsPlayerLAdmin>
3. Now you can use:
pawn Код:
if (IsPlayerLAdmin(playerid)) ....
and
pawn Код:
if (IsPlayerAdminLevel(playerid, 4)) ... // where 4 is the level. this can be any level you want
There you go
Reply
#3

I m using LUX admin !!! I think this is for Ladmin
Reply
#4

Quote:
Originally Posted by MA_proking
Посмотреть сообщение
I used these headers
Код:
#include <ladmin>
#include <a_samp>
#include <dini>
#include <zcmd>
Showing these errors how to resolve
Quote:
Originally Posted by MA_proking
Посмотреть сообщение
I m using LUX admin !!! I think this is for Ladmin
Thats why i thought youre using Ladmin
pawn Код:
IsPlayerLuxAdminLevel(playerid, level);
This is the right function
Reply
#5

Код:
	if (!IsPlayerLuxAdm(playerid, 3)) return SendClientMessage(playerid, RED, "<!> You are not an administrator!");
Yes using this but its not working
Reply
#6

The right function:
pawn Код:
IsPlayerLuxAdminLevel(playerid, level);
Your function (wrong one):
pawn Код:
IsPlayerLuxAdm(playerid, level)
Reply
#7

Thanks it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)