Pawn command error
#1

Hi, i need some help.
I got a problem with a command, when i type /help it says unknown command and it won't do anything...

Here is the command (It's under OnPlayerCommandText of course)
Quote:

if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "|-------------------------Help-------------------------|");
SendClientMessage(playerid,COLOR_WHITE, "General Commands: /help");
SendClientMessage(playerid,COLOR_WHITE, "Airplane Commands: /flytolv /flytols");
SendClientMessage(playerid,COLOR_WHITE, "Vehicle Commands: /engine /seatbelt");
SendClientMessage(playerid,COLOR_WHITE, "Other Commands: /renthelp");
SendClientMessage(playerid,COLOR_WHITE, "|------------------------------------------------------|");
return 1;
}

And this happens when i type /help
Reply


Messages In This Thread
Pawn command error - by Vlad64 - 28.12.2012, 14:55
Re: Pawn command error - by aslan890 - 28.12.2012, 15:00
Re: Pawn command error - by Konstantinos - 28.12.2012, 15:02
Re: Pawn command error - by Vlad64 - 28.12.2012, 15:08
Re: Pawn command error - by Vlad64 - 28.12.2012, 15:53
Re: Pawn command error - by dr.lozer - 28.12.2012, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)