23.04.2014, 02:28
Bom meu /gotooff e /gotoon ta bugado se um player por exemplo block o goto com /gotooff e outro player digita /gotoon ele consegue dar goto no que bloqueou o goto! ajudem codigo abaixo ja tentei de tudo.
pawn Код:
if(strcmp(cmd, "/gotooff", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
xTravarComando [ i ] = true ;
SendClientMessage ( playerid, BRANCO, "Goto bloqueado{FFFFFF}" ) ;
return 1;
}
if(strcmp(cmd, "/gotoon", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
xTravarComando [ i ] = false ;
SendClientMessage ( playerid, BRANCO, "Goto desbloqueado{FFFFFF}!" ) ;
return 1;
}