AFk system prob.
#2

pawn Код:
if(strcmp(cmd, "/afk", true) == 0)
    {
        new name[MAX_PLAYER_NAME];
        new Float:x, Float:y, Float:z;
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "[AFK] %s Is Now Afk (Away From Keyboard)", name );
        SendClientMessageToAll(COLOR_GROVE, string);
        GetPlayerPos(playerid, x, y, z);
        SetPlayerPos(playerid, x, y, z+800);
        SendClientMessageToAll(COLOR_GROVE,string);
        return 1;}
Reply


Messages In This Thread
AFk system prob. - by kepa333 - 18.06.2012, 14:09
Re: AFk system prob. - by Ironboy - 18.06.2012, 14:15
Re: AFk system prob. - by MarinacMrcina - 18.06.2012, 14:17
Re: AFk system prob. - by kepa333 - 18.06.2012, 14:17
Re: AFk system prob. - by FUNExtreme - 18.06.2012, 14:32
Re: AFk system prob. - by Ironboy - 18.06.2012, 14:43

Forum Jump:


Users browsing this thread: 2 Guest(s)