19.06.2014, 12:14
I'm using Lux Admin, but it give a error and a warning... Can you help me please?
Includes
code command
errors
Includes
Код:
#include <a_samp> #include <core> #include <float> #include <Dini> #include <streamer> #include <ladmin>
Код:
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;
}
Код:
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.


it wasn't in the ladmin include?