Errors || Related to ZCMD
#1

Well, I just started using ZCMD, I got this error after doing a simple command

PHP код:
C:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : error 029invalid expressionassumed zero
C
:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : error 017undefined symbol "cmd_information"
C:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : error 029invalid expressionassumed zero
C
:\Users\zero\Downloads\EDM Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply
#2

Please show us your code...

With those errors anyway try use it like this: "cmd:information" instead of "cmd_information"
Reply
#3

PHP код:
    COMMAND:information(playeridparams[]) 
Reply
#4

If you have any missing closed bracket before line 808, it will show these errors.
Reply
#5

Nope. Nothing
Reply
#6

How about posting the whole command?
Reply
#7

PHP код:
    COMMAND:information(playeridparams[])
    {
        
ShowPlayerDialog(playerid20"Information""{FFFFFF}This server was created by {F3FF02}Le3at{FFFFFF} & {F3FF02}Gendy\n{FFA1A1}This server is under construction\n""Close""");
        return 
1;
    } 
Reply
#8

Post the code you have before this line: COMMAND:information(playerid, params[])
callback, command or whaever it is.
Reply
#9

PHP код:
public OnPlayerCommandText(playeridcmdtext[])

That's the call back :/
Reply
#10

Commands MUST be out of any callback. Remove those 2 lines completely from your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)