Isplayeroffline
#1

Hey!

Here is a stock function of IsPlayerNameOnline

pawn Код:
stock IsPlayerNameOnline(compname[]){
    new playername[MAX_PLAYER_NAME];
    for(new i=0;i<=MAX_PLAYERS;i++) {
        if(IsPlayerConnected(i)) {
            GetPlayerName(i, playername, sizeof(playername));
            if(strcmp(playername,compname,false) == 0) {
                return i;}}}
    return 1000;}
But i want to make it vice versa "IsPlayerNameOffline"

What would be the code, please help
Reply


Messages In This Thread
Isplayeroffline - by Bondage - 22.09.2014, 23:15
Re: Isplayeroffline - by DaTa[X] - 22.09.2014, 23:21
Re: Isplayeroffline - by Jaxson - 22.09.2014, 23:21
Re: Isplayeroffline - by WooPz - 22.09.2014, 23:22
Re: Isplayeroffline - by SickAttack - 22.09.2014, 23:28

Forum Jump:


Users browsing this thread: 1 Guest(s)