[Ajuda] Bloquear teleport
#10

Quote:
Originally Posted by TioSlash
Посмотреть сообщение
pawn Код:
//Topo
new bool:block [MAX_PLAYERS];

//No Comando
CMD:xizun(playerid)
{
if(block[playerid] == true);
//resto do comando
return 1;
}

//Para sair
CMD:sairxizun(playerid)
{
if(block[playerid] == false); return SendClientMessage(playerid , -1 , "Vocк nгo estб no evento") ;
//resto do comando
return 1;
}
Fonte: Aqui
Vai dar erro. Por causa do ponto virgula:
pawn Код:
if(block[playerid] == false); return SendClientMessage(playerid , -1 , "Vocк nгo estб no evento") ;
Tem que ser:
pawn Код:
if(block[playerid] == false) return SendClientMessage(playerid , -1 , "Vocк nгo estб no evento") ;
Reply


Messages In This Thread
Bloquear teleport - by Bl4ckN3w - 20.06.2014, 18:57
Re: Bloquear teleport - by ProKillerpa - 20.06.2014, 19:05
Re: Bloquear teleport - by Bl4ckN3w - 20.06.2014, 19:06
Re: Bloquear teleport - by ProKillerpa - 20.06.2014, 19:10
Re: Bloquear teleport - by Bl4ckN3w - 20.06.2014, 19:16
Re: Bloquear teleport - by ProKillerpa - 20.06.2014, 21:32
Re: Bloquear teleport - by DiiMeNoR - 20.06.2014, 21:54
Re: Bloquear teleport - by Bl4ckN3w - 22.06.2014, 14:38
Re: Bloquear teleport - by TioSlash - 22.06.2014, 16:17
Re: Bloquear teleport - by MultiKill - 22.06.2014, 16:26

Forum Jump:


Users browsing this thread: 2 Guest(s)