- Fail Commands.
#8

Код:
G:\NpTDM[0.3e]\gamemodes\NpTDM.pwn(347) : error 029: invalid expression, assumed zero
G:\NpTDM[0.3e]\gamemodes\NpTDM.pwn(347) : error 017: undefined symbol "OnPlayerCommandPerformed"
G:\NpTDM[0.3e]\gamemodes\NpTDM.pwn(349) : error 017: undefined symbol "success"
G:\NpTDM[0.3e]\gamemodes\NpTDM.pwn(352) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
]

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    public OnPlayerCommandPerformed(playerid, cmdtext[], success)
	{
	if(!success) SendClientMessage(playerid, -1, "That command does not exist. Use /help or /commands..");
    return 1;
	}
Reply


Messages In This Thread
- Fail Commands. - by Bug. - 20.09.2012, 10:29
Re: - Fail Commands. - by antonio112 - 20.09.2012, 10:31
- Errors - - by Bug. - 20.09.2012, 14:59
Re: - Fail Commands. - by CmZxC - 20.09.2012, 15:02
Re: - Fail Commands. - by Bug. - 24.09.2012, 11:13
Re: - Fail Commands. - by Rimeau - 24.09.2012, 11:46
Re: - Fail Commands. - by XtremeR - 24.09.2012, 11:51
Re: - Fail Commands. - by Bug. - 24.09.2012, 16:33
Re: - Fail Commands. - by BlackAtom - 24.09.2012, 16:44
Re: - Fail Commands. How to fix it? ) - by Bug. - 26.09.2012, 11:36

Forum Jump:


Users browsing this thread: 2 Guest(s)