Zcmd error..
#1

I change strcmp command to zcmd and give me error :

Код:
D:\Shefa\Igri\GTASanAndreasRIP\bam\gamemodes\gangwars4.pwn(3242) : error 029: invalid expression, assumed zero
D:\Shefa\Igri\GTASanAndreasRIP\bam\gamemodes\gangwars4.pwn(3242) : error 017: undefined symbol "cmd_fightstyles"
D:\Shefa\Igri\GTASanAndreasRIP\bam\gamemodes\gangwars4.pwn(3242) : error 029: invalid expression, assumed zero
D:\Shefa\Igri\GTASanAndreasRIP\bam\gamemodes\gangwars4.pwn(3242) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
The command :

Код:
CMD:fightstyles(playerid, params[])
	{
	    if(IsPlayerConnected(playerid))
		{
		    if(IsPlayerInRangeOfPoint(playerid, 5.0,760.8469,11.4000,1001.1639))
       		{
			        ShowPlayerDialog(playerid, 0,DIALOG_STYLE_LIST,"Select a Fighting Style","Boxing ( 5000$ )\r\nKung Fu ( 15000$ )\r\nKnee Head ( 30000$ )\r\nGrab Kick ( 45000$ )\r\nElbow ( 70000$ )","Select", "Cancel");
			}
			else
			{
			    SendClientMessage(playerid, COLOR_RED, "Не си във фитнес залата!");
			}
		}
		return 1;
	}
Reply
#2

Did you #include zcmd and sscanf2?
Reply
#3

I found the problem and fix it! Remove.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)