[DUV] Comandos
#5

no topo do GM:

pawn Код:
forward saida(playerid)
No OnPlayerCommandText:

pawn Код:
if(strcmp("/exit", cmdtext,true,10) == 0)
{
 SendClientMessage(playerid,SUA_COR,"Aguarde 10 segundos");
 SetTimer("saida",10000,true);
}
No fim do GM:

pawn Код:
public saida(playerid)
{
 Kick(playerid)
}
Reply


Messages In This Thread
[DUV] Comandos - by Bruno da Silva - 25.03.2010, 14:52
Re: [DUV] Comandos - by andmeida10 - 25.03.2010, 15:13
Re: [DUV] Comandos - by SlashPT - 25.03.2010, 17:23
Re: [DUV] Comandos - by Bruno da Silva - 26.03.2010, 00:12
Re: [DUV] Comandos - by andmeida10 - 26.03.2010, 06:57

Forum Jump:


Users browsing this thread: 1 Guest(s)