#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        return 1;
    }
    dcmd(help,4,cmdtext);
    return 0;
}
pawn Код:
dcmd_help(playerid,params[]) {
    #pragma unused params
    if(IsPlayerConnected(playerid) == 0)
    {
        SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
        SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
        SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
        SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
    }
    return 1;
}
Now for some reason when I go in-game the commands don't work, any ideas...
Reply


Messages In This Thread
mmk - by Nimphious - 04.02.2009, 22:15
Re: mmk - by Dinero - 04.02.2009, 22:17
Re: mmk - by Nimphious - 04.02.2009, 22:18
Re: mmk - by Auto-Sized - 04.02.2009, 23:04
Re: mmk - by Nimphious - 04.02.2009, 23:08
Re: mmk - by Auto-Sized - 04.02.2009, 23:14
Re: mmk - by Nimphious - 04.02.2009, 23:16
Re: mmk - by Auto-Sized - 04.02.2009, 23:29
Re: mmk - by Pixels^ - 04.02.2009, 23:32
Re: mmk - by Auto-Sized - 04.02.2009, 23:37

Forum Jump:


Users browsing this thread: 2 Guest(s)