16.12.2012, 19:53
Alguem pode Converter para min esse comando fazendo um grande favor ?
Quote:
CMD:afk(playerid,params[]) { new name[24], str[128]; GetPlayerName(playerid,name,24); if(afk[playerid] == 1) return SendClientMessage(playerid,-1,"{AA3333}* You are already afk!"); TextDrawShowForPlayer(playerid,Textdraw0); TextDrawShowForPlayer(playerid,Textdraw1); TextDrawShowForPlayer(playerid,Textdraw2); TextDrawShowForPlayer(playerid,Textdraw3); TextDrawShowForPlayer(playerid,Textdraw4); TextDrawShowForPlayer(playerid,Textdraw7); SelectTextDraw(playerid,0xFFFFFFFF); TogglePlayerControllable(playerid,0); afk[playerid] = 1; format(str,sizeof(str),"{AFAFAF}* %s(%d) is now away from keyboard (/AFK)",name,playerid); SendClientMessageToAll(-1,str); return 1; } |