Problem with my GM - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with my GM (
/showthread.php?tid=140781)
Problem with my GM -
R3SpaWn3 - 10.04.2010
ЎHi! Look...i have a problem with my gm...when i go to server and write /help or /ah...not function,don't appear "Unknown" Command.. :S
Video...
Help
I'm doing a RP GM....
Re: Problem with my GM -
ruckfules99 - 10.04.2010
Paste some code
Re: Problem with my GM -
RyDeR` - 10.04.2010
how do you use your strcmp under OnPlayerCommandText ?
Re: Problem with my GM -
mascii - 10.04.2010
make sure you return 0
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
/* Returning '0' is used to inform the server that the command
has not been successfully processed, and passes it to other scripts.
If there hasn't been a successful process, then you will get that
'SERVER: Unknown Command.' error.
*/
Re: Problem with my GM -
R3SpaWn3 - 10.04.2010
Quote:
Originally Posted by fps_doug
make sure you return 0
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { return 0; }
/* Returning '0' is used to inform the server that the command has not been successfully processed, and passes it to other scripts. If there hasn't been a successful process, then you will get that 'SERVER: Unknown Command.' error. */
|
Solved!!! Thanks man
!!!