#1

I got a server and i got a problem:

No commands work, and when i compile i dont have warnings or errors.

the only commands that work is givecash,gamehelp and pm/tpm. Can somebody tell me whats wrong?
Reply
#2

return 0 insted of 1 on OnPlayerCommandText

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	return 0;
}
Reply
#3

Show your OnPlayerCmdText public.
Quote:
Originally Posted by mascii
return 0 insted of 1 on OnPlayerCommandText

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	return 0;
}
This return just makes the server to say :Unknown command.
Instead of anything.
Reply
#4

are u sure, because i thought it disabled commands in other filterscripts and gms
Reply
#5

then what i should do?
Reply
#6

sorry for the 2 post, but, somebody answer.!!!
Reply
#7

make sure no return statements are flying around in OnPlayerCommandText at places where you don't need them
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)