Scripting Help Rep+
#5

PHP код:
public OnPlayerResume(playerid, )
{
        new 
time;
    if(
Capturingplayerid} )
    {
        if(
time >= 4000)
        {
            new 
string[74];
            new 
name[MAX_PLAYER_NAME];
            
GetPlayerName(playeridnamesizeof(name));
            
format(stringsizeof(string), "** %s[%d] was AFK for 4(or more) seconds, WHILE CAPTURING!"nameplayerid);
            
MessageToAdmins(C_REDstring);
        }
        else
        {
            
AFKplayerid } = false;
        }
    }
    
AFKplayerid } = false;
    return 
1;

Reply


Messages In This Thread
Scripting Help Rep+ - by HydraHumza - 26.01.2015, 14:33
Re: Scripting Help Rep+ - by Ironboy - 26.01.2015, 14:36
Re: Scripting Help Rep+ - by nezo2001 - 26.01.2015, 14:36
Re: Scripting Help Rep+ - by HydraHumza - 26.01.2015, 14:40
Re: Scripting Help Rep+ - by Arxalan - 26.01.2015, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)