16.04.2012, 01:03
How can change this so insted of /command ID TIME
it works as /command ID TIME REASON
it works as /command ID TIME REASON
pawn Код:
if(strcmp(cmd, "/aj", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pGmL] >= 2)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Użyj: /aj [ID] [MIN]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);