#1

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?
Reply
#2

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;
}
Reply
#3

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)