/help - 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)
+--- Thread: /help (
/showthread.php?tid=466032)
/help -
HoboGamings - 25.09.2013
Hey I cant find how to make a fully working /help system i know the first line is
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
But i dont know any scripts past there could you help?
Re: /help -
Konstantinos - 25.09.2013
pawn Код:
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
if( !strcmp( "/help", cmdtext, true ) )
{
SendClientMessage( playerid, -1, "Do you want help? Type /cmds blabla.." );
// do whatever you want here
return 1;
}
return 0;
}
Re: /help -
HoboGamings - 26.09.2013
Thanks