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 029: invalid expression, assumed zero
C
:\Users\zero\Downloads\EDM - Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : error 017: undefined symbol "cmd_information"
C:\Users\zero\Downloads\EDM - Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : error 029: invalid expression, assumed zero
C
:\Users\zero\Downloads\EDM - Extreme Deathmatch Mania\gamemodes\Untitled.pwn(808) : fatal error 107: too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB 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(playerid, params[]) 
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(playerid, params[])
    {
        
ShowPlayerDialog(playerid, 2, 0, "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(playerid, cmdtext[])
{ 
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: