Help me in - If(IsPlayerLuxAdm(playerid, 4))
#1

I'm using Lux Admin, but it give a error and a warning... Can you help me please?

Includes
Код:
#include <a_samp>
#include <core>
#include <float>
#include <Dini>
#include <streamer>
#include <ladmin>
code command
Код:
if(strcmp(cmdtext, "/bsg 1", true) == 0)
    {
        if(IsPlayerLuxAdm(playerid, 4))
        {
        	if(Gate1_O == 0)
        	{
            	Gate1_O = 1;
            	MoveDynamicObject (Gate1, -2723.8999023438, 2348.8000488281, 74.599998474121, 1); // Back Lift (down position)
            	SendClientMessage(playerid, COLOR_VERDE, "[BASE]Hai aperto il gate principale");
        	}
  	  		else
        	{
            	Gate1_O = 0;
            	MoveDynamicObject (Gate1, -2725.5000000, 2357.6006000, 74.4000000, 1); // Back Lift (down position)
            	SendClientMessage(playerid, COLOR_ROSSO, "[BASE]Hai chiuso il gate principale");
			}
		}
		else
		{
		    SendClientMessage(playerid, COLOR_ROSSO, "[BASE]Devi essere admin LVL 4 per questo comando");
		}
        return 1;
    }
errors
Код:
C:\Users\DarK_FeneR\Desktop\M3 SAMP\gamemodes\M3_1.9.pwn(2245) : error 017: undefined symbol "IsPlayerLuxAdm"
C:\Users\DarK_FeneR\Desktop\M3 SAMP\gamemodes\M3_1.9.pwn(12756) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

You're not defining IsPlayerLuxAdm anywhere in your script.
For the looks of it I'd say IsPlayerLuxAdm is a Stock that you don't have.
For the top of your script;
#pragma unused ret_memcpy
Reply
#3

How to define IsPlayerLuxAdm it wasn't in the ladmin include?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)