stats for this fs?
#5

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Where i need to paste this code?
Depends on what command system you use..

Heres an example of it with Strcmp:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/stats", true, 6)) // 6 is the length of /stats
    {
        return PlayerStats(playerid);
    }
    return 0;
}
Reply


Messages In This Thread
stats for this fs? - by Face9000 - 05.09.2010, 13:46
Re: stats for this fs? - by Cameltoe - 05.09.2010, 13:51
Re: stats for this fs? - by WillyP - 05.09.2010, 13:51
Re: stats for this fs? - by Face9000 - 05.09.2010, 14:16
Re: stats for this fs? - by Cameltoe - 05.09.2010, 14:25
Re: stats for this fs? - by Face9000 - 05.09.2010, 18:52
Re: stats for this fs? - by Cameltoe - 05.09.2010, 19:13
Re: stats for this fs? - by Fj0rtizFredde - 05.09.2010, 19:56
Re: stats for this fs? - by Cameltoe - 05.09.2010, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)