afk and back command getting errors
#4

Quote:
Originally Posted by Mustafa6155
Посмотреть сообщение
pawn Код:
CMD:weg(playerid,params[])
{
        if(PlayerAFK[playerid] == 0)
        {
           new pName[MAX_PLAYER_NAME];
           GetPlayerName(playerid,pName,sizeof(pName));
           new string[120];
           format(string,sizeof(string),"%s(%d) Is nou AwayFromKeyBoard[AFK]!",pName,playerid);
           TogglePlayerControllable(playerid,0);
           PlayerAFK[playerid] = 1;
           SendClientMessageToAll(-1,string);
        }
        if(PlayerAFK[playerid] == 1) return SendClientMessage(playerid,-1,"Je Bent al AwayFromKeyboard[AFK]!");
     }
   return 1;
}
Same errors?
Here:
pawn Код:
CMD:weg(playerid,params[])
{
        if(PlayerAFK[playerid] == 0)
        {
           new pName[MAX_PLAYER_NAME];
           GetPlayerName(playerid,pName,sizeof(pName));
           new string[120];
           format(string,sizeof(string),"%s(%d) Is nou AwayFromKeyBoard[AFK]!",pName,playerid);
           TogglePlayerControllable(playerid,0);
           PlayerAFK[playerid] = 1;
           SendClientMessageToAll(-1,string);
        }
        if(PlayerAFK[playerid] == 1) return SendClientMessage(playerid,-1,"Je Bent al AwayFromKeyboard[AFK]!");
     
   return 1;
}
Greetz,
LetsOWN
Reply


Messages In This Thread
afk and back command getting errors - by Mustafa6155 - 19.12.2012, 11:50
Re: afk and back command getting errors - by CoaPsyFactor - 19.12.2012, 11:55
Re: afk and back command getting errors - by Mustafa6155 - 19.12.2012, 12:02
Re: afk and back command getting errors - by LetsOWN[PL] - 19.12.2012, 12:05
Re: afk and back command getting errors - by Mustafa6155 - 19.12.2012, 12:08
Re: afk and back command getting errors - by LetsOWN[PL] - 19.12.2012, 12:12
Re: afk and back command getting errors - by Mustafa6155 - 19.12.2012, 12:15
Re: afk and back command getting errors - by Mustafa6155 - 19.12.2012, 12:35

Forum Jump:


Users browsing this thread: 1 Guest(s)