Multipe errors
#1

Код:
C:\Users\Mijn pc\Desktop\Scripting\gamemodes\login.pwn(174) : error 029: invalid expression, assumed zero
C:\Users\Mijn pc\Desktop\Scripting\gamemodes\login.pwn(174) : error 017: undefined symbol "cmd_me"
C:\Users\Mijn pc\Desktop\Scripting\gamemodes\login.pwn(174) : error 029: invalid expression, assumed zero
C:\Users\Mijn pc\Desktop\Scripting\gamemodes\login.pwn(174) : fatal error 107: too many error messages on one line

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


4 Errors.
Line 174 = CMD:me(playerid, params[])

whole command:
Код:
CMD:me(playerid, params[])
	{
	    new
	        string[128],
	        action[100];
	    if(sscanf(params, "s[100]", action))
	    {
	        SendClientMessage(playerid, -1, "USAGE: /me [action]");
	        return 1;
	    }
	    else
	    {
	        format(string, sizeof(string), "* %s %s", GetName(playerid), action);
	        ProxDetector(30, playerid, string, COLOR_PURPLE);
	    }
	    return 1;
	}
How can I fix this? I followed this tutorial, https://sampforum.blast.hk/showthread.php?tid=336052
Reply
#2

Try to re-download zcmd include, replacing it with the old one, open pawno.exe, browse your gamemode manualy, re-compile.
Reply
#3

Nope, didn't work. I placed them under "OnPlayerCommandText" though, or is that the problem?
Reply
#4

Yes that's the problem...remove OnPlayerCommandText properly from your gamemode.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)