.........I am using Lux admin script........please help |
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/island", true) == 0)
{
if(!IsPlayerLuxAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFAA, "This command is just for admins");
{
//code
}
{
return 1;
{
Example code
pawn Код:
|
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(287) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(299) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(305) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(311) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(317) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(323) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(329) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(335) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(341) : error 017: undefined symbol "IsPlayerLuxAdmin" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
#define IsPlayerLuxAdmin
After doing this i got this error
Код:
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(287) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(299) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(305) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(311) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(317) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(323) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(329) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(335) : error 017: undefined symbol "IsPlayerLuxAdmin" E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\AdminHouse.pwn(341) : error 017: undefined symbol "IsPlayerLuxAdmin" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors. adding Код:
#define IsPlayerLuxAdmin EDIT: When i logged in as admin and type /ahouse this showed me This command is just for admins what can i do? |
If your using the admin island as a FilterScript then add it to your GameMode
|
If your using the admin island as a FilterScript then add it to your GameMode
|
You should INCLUDE not DEFINE the LuxAdmin .inc file. (idk its name)
|