Errors || Related to ZCMD - 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: Errors || Related to ZCMD (
/showthread.php?tid=514855)
Errors || Related to ZCMD -
Le3aT - 23.05.2014
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.
Re: Errors || Related to ZCMD -
Blademaster680 - 23.05.2014
Please show us your code...
With those errors anyway try use it like this: "cmd:information" instead of "cmd_information"
Re: Errors || Related to ZCMD -
Le3aT - 23.05.2014
PHP код:
COMMAND:information(playerid, params[])
Re: Errors || Related to ZCMD -
Konstantinos - 23.05.2014
If you have any missing closed bracket before line 808, it will show these errors.
Re: Errors || Related to ZCMD -
Le3aT - 23.05.2014
Nope. Nothing
Re: Errors || Related to ZCMD -
Nathan_Taylor - 23.05.2014
How about posting the whole command?
Re: Errors || Related to ZCMD -
Le3aT - 23.05.2014
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;
}
Re: Errors || Related to ZCMD -
Konstantinos - 23.05.2014
Post the code you have before this line: COMMAND:information(playerid, params[])
callback, command or whaever it is.
Re: Errors || Related to ZCMD -
Le3aT - 23.05.2014
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
That's the call back :/
Re: Errors || Related to ZCMD -
Konstantinos - 23.05.2014
Commands MUST be out of any callback. Remove those 2 lines completely from your script.