AFKTIME
#1

PHP код:
CMD:afktime(playerid,params[])
{
        new 
targetid,string[128];
        if(
sscanf(params"ui",targetid)) return SendClientMessage(playerid,-1,""COL_RED"Cmds: /afktime [playerid]");
        
format(string,sizeof(string),""COL_RED"%s is afk for %s seconds.",PlayerName(targetid), Afktime);
        
SendClientMessage(playerid,-1,string);
    }
    else {
        
SendClientMessage(playerid,-1,""COL_RED"ERROR: This player is not afk!");
    }
    return 
1;

How can I make this work?
Reply


Messages In This Thread
AFKTIME - by Zeus666 - 30.09.2018, 12:06
Re: AFKTIME - by UFF - 30.09.2018, 12:14
Re: AFKTIME - by Zeus666 - 30.09.2018, 12:18
Re: AFKTIME - by UFF - 30.09.2018, 12:21
Re: AFKTIME - by Zeus666 - 30.09.2018, 12:24

Forum Jump:


Users browsing this thread: 1 Guest(s)