[Pedido] [AFK] Motivo .
#1

tipo esse mini code criado aki..

quando o player digita /afk ele jah fica afk mais ele nгo digita o motivo..

eu queria que tipo quando ele digitasse /afk ele nгo poderia fica afk antes de coloca o motivo, dps que ele coloca o motivo ai sim ele fica afk..

pawn Код:
if(strcmp(cmdtext, "/afk", true) == 0)
{
ShowPlayerDialog(playerid,DIALOG_AFK,DIALOG_STYLE_INPUT,".. [Digite o Motivo] ..", "Digite o Motivo de querer ficar AFK","OK","");
if(AFK[playerid]==0)
{
AFK[playerid]=1;
DOF2_SetString(temp,"Status>","AFK");
SetPlayerVirtualWorld(playerid, 1);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);

TextDrawShowForPlayer(playerid,AfkText);
TextDrawShowForPlayer(playerid,AfkBackText);

GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
}else{
SendClientMessage(playerid,Vermelho,"(ERRO) Vocк jб estб no modo Online para poder utilizar esse comando!");
return 1;
}
return 1;
}
Reply


Messages In This Thread
[AFK] Motivo . - by Zona_Sky - 09.11.2012, 20:17
Re: [AFK] Motivo . - by Joao Pedro - 09.11.2012, 20:18
Re: [AFK] Motivo . - by Zona_Sky - 09.11.2012, 20:27
Re: [AFK] Motivo . - by Q.I - 09.11.2012, 20:28
Re: [AFK] Motivo . - by Joao Pedro - 09.11.2012, 20:29
Re: [AFK] Motivo . - by Sky™ - 09.11.2012, 20:30
Re: [AFK] Motivo . - by Zona_Sky - 09.11.2012, 20:38
Re: [AFK] Motivo . - by Sky™ - 09.11.2012, 20:47
Re: [AFK] Motivo . - by Zona_Sky - 09.11.2012, 21:03
Re: [AFK] Motivo . - by Zona_Sky - 09.11.2012, 21:16
Re: [AFK] Motivo . - by zSuYaNw - 10.11.2012, 02:45
Re: [AFK] Motivo . - by Zona_Sky - 10.11.2012, 13:02
Re: [AFK] Motivo . - by xioriscripter - 13.08.2013, 13:56
Re: [AFK] Motivo . - by PT - 13.08.2013, 13:59
Re: [AFK] Motivo . - by xioriscripter - 13.08.2013, 14:14
Re: [AFK] Motivo . - by PT - 13.08.2013, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)