Luxadmin - Cross-Script issue. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Luxadmin - Cross-Script issue. (
/showthread.php?tid=452311)
Luxadmin - Cross-Script issue. -
Drift032 - 20.07.2013
First off I am sorry if this belonged in the actual Luxadmin thread but its kinda old and I needed a quick answer.
When using the methods said to make luxadmin compatible cmds such as
if(strcmp(cmd, "/help", true) == 0)
{
if(IsPlayerLuxAdminLevel(playerid,4))
{
SendClientMessage(playerid, COLOR_WHITE, "exampletext");
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is Administrator Level 4");
return 1;
}
but when i compile i get the following errors (NOTE: yes I loaded ladmin.inc):
C:...\pawno\include\dutils.inc(2

: error 021: symbol already defined: "isNumeric"
C:...\pawno\include\dutils.inc(379) : error 025: function heading differs from prototype
C:...\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"
I have tried recompiling Luxadmin and even redownloading and replacing it, but I still get these errors.
Can someone PLEASE help?
Re: Luxadmin - Cross-Script issue. -
NeroX98 - 20.07.2013
delete stock strtok and stock isNumeric... they are already defined in dutils.inc
Re: Luxadmin - Cross-Script issue. -
RALL0 - 20.07.2013
Can you show us this function - IsPlayerLuxAdminLevel
Re: Luxadmin - Cross-Script issue. -
Drift032 - 20.07.2013
but where are they previously used? I dont use many other includes. Do i just remove them from dutils?