29.09.2016, 02:27
PHP код:
for(new BANKID; BANKID < mensageofbank; BANKID++){
XDOB = mensagebank[BANKID][0]; YDOB = mensagebank[BANKID][1]; ZDOB = mensagebank[BANKID][2];
if(IsPlayerInRangeOfPoint(playerid, 3.0, XDOB, YDOB, ZDOB)){
new Float:XDOCARA, Float:YDOCARA, Float:ZDOCARA;
GetPlayerPos(playerid, XDOCARA, YDOCARA, ZDOCARA);
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
XDOCARA = APP[playerid][0], YDOCARA = APP[playerid][1], ZDOCARA = APP[playerid][2];
Assaulting[MemberID] = true; ARROMBOU[MemberID] = false; tempobomb[playerid] = 15;
EXPLOX[playerid] = SetTimerEx("LIBERARBANCO", 1000, true, "i", playerid);
}else
SendClientMessage(playerid, 0xFF0000FF, "<!> Vocк precisa estб perto do banco.");
}
qnd chamo o comando ele chama o settimer + de uma vez, buga tudo... alguem?
qnd uso o comando sem estar no IsPlayerInRangeOfPoint ele flooda o erro.. sim й por causa do
PHP код:
for(new BANKID; BANKID < mensageofbank; BANKID++)