Luxadmin - Cross-Script issue.
#1

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?
Reply
#2

delete stock strtok and stock isNumeric... they are already defined in dutils.inc
Reply
#3

Can you show us this function - IsPlayerLuxAdminLevel
Reply
#4

but where are they previously used? I dont use many other includes. Do i just remove them from dutils?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)