No commands are working
#1

commands stopped working on my server. It says SERVER: Unknown command.
I can't do /kill or anything i just get the Unknown command message, anyone know what the problem is?
Reply
#2

If you don't post the code you have, nobody else can guess where's the problem at, and even can't resolve.

Post your code.
Reply
#3

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		GivePlayerMoney(playerid, -250);
		return 1;
	}
	return 0;
}
Reply
#4

Post the whole script you do use. I had the same problem once.
Reply
#5

http://pastebin.com/Rt1rkxV0
Reply
#6

Remove from the top:
pawn Код:
#include <zcmd> // REMOVE THIS LINE ON YOUR SCRIPT
Reply
#7

Yay it worked, thanks alot dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)