3 players, commands fuckup!
#3

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
Well, the unknown command message is shown when the OnPlayerCommandText callback returns 0, so do you return 0 anywhere in your OnPlayerCommandText function? Also, in ZCMD do you return a value at the end of each command to prevent the script from continuing to the end of the OnPlayerCommandText callback?

I'm not really sure how ZCMD works as I've never used it, but I assume that's where the issues lies, you should probably check out the documentation for it, if there is any.
Actually, ZCMD doesn't use OnPlayerCommandText
i uses

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
Should i show you some commands and what the 2 callback contain? But I'm pretty sure that's not from it..
I have return 1 to every command! OnPlayerCommandText is not even used.
Strange, but with 1 and 2 players, it works fine, when 3, it's a command total fuckup!
Not even a single command works like it should...
Reply


Messages In This Thread
3 players, commands fuckup! - by Zh3r0 - 04.12.2010, 13:21
Re: 3 players, commands fuckup! - by JaTochNietDan - 04.12.2010, 13:24
Re: 3 players, commands fuckup! - by Zh3r0 - 04.12.2010, 13:30
Re: 3 players, commands fuckup! - by JaTochNietDan - 04.12.2010, 13:31
Re: 3 players, commands fuckup! - by Zh3r0 - 04.12.2010, 13:33
Re: 3 players, commands fuckup! - by JaTochNietDan - 04.12.2010, 13:36
Re: 3 players, commands fuckup! - by Zh3r0 - 04.12.2010, 13:39
Re: 3 players, commands fuckup! - by JaTochNietDan - 04.12.2010, 13:41
Re: 3 players, commands fuckup! - by Zh3r0 - 04.12.2010, 13:43
Re: 3 players, commands fuckup! - by JaTochNietDan - 04.12.2010, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)