C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67252) : error 017: undefined symbol "TempoRoubo" C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67252) : warning 215: expression has no effect C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67252) : error 001: expected token: ";", but found "]" C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67252) : error 029: invalid expression, assumed zero C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67252) : fatal error 107: too many error messages on one line
new RStr[8]; //=======================[Roubo Banco Comandos]======================== CMD:decodificarporta(playerid) return ForT:dpb(playerid); CMD:dpb(playerid) { if(!OrgsRoubo(playerid)) { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !"); return 1; } if(!IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na Porta do Banco !"); if(IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) { if (BancoDecodificado1 == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!"); return 1; } if (PortaBancoDec1[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!"); return 1; } if(temporoubobanco == 1) { SendClientMessage(playerid,COLOR_GREY,"Jб roubaram o cofre do banco espere 50 minutos para roubar de novo !"); return 1; } new string[MAX_STRING]; PortaBancoDec1[playerid] = 1; invadindo[playerid] = 1; format(string, sizeof(string), "*** %s tenta decodificar a porta.", PlayerName(playerid)); ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); Tempoinvadindo[playerid] = gettime()+1*10; format(RStr, 8, "%s", ConvertTime(Tempoinvadindo[playerid] - gettime())); PlayerTextDrawSetString(playerid, TempoRoubo[playerid], RStr); MostrarRoubo(playerid); SetTimerEx("decodificar2",10000,0,"i",playerid); WantedPoints[playerid]+=1; SetPlayerCriminal(playerid,255,"Decodificar a porta do Banco"); }
//==============[Roubo Banco]==========================
new BancoPortaDec1; new BancoPortaDec2; new bombac42; new PortaBancoDet; new BancoDecodificado1; new BancoDecodificado2; new BancoDetonado; new PortaBancoDec1[MAX_PLAYERS]; new PortaBancoDec2[MAX_PLAYERS]; new CofreBancoDet[MAX_PLAYERS]; new temporoubobanco = 0; new roubobanco; new ProvocoBanco[MAX_PLAYERS]; Seria isso? jб tem |
new TempoRoubo[MAX_PLAYERS];