03.04.2016, 15:39
(
Последний раз редактировалось Lуs; 05.04.2016 в 11:27.
)
Код:
C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67265) : warning 213: tag mismatch C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67266) : error 012: invalid function call, not a valid address C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67266) : warning 215: expression has no effect C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67266) : error 001: expected token: ";", but found ")" C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67266) : error 029: invalid expression, assumed zero C:\Users\JOJO\Desktop\Brasil New Live\gamemodes\BPS.pwn(67266) : fatal error 107: too many error messages on one line
Код:
//=======================[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())); LOCAL> 67265 PlayerTextDrawSetString(playerid, TempoRoubo[playerid], RStr); lOCAL > 67266 MostrarRoubo(playerid); SetTimerEx("decodificar2",10000,0,"i",playerid); WantedPoints[playerid]+=1; SetPlayerCriminal(playerid,255,"Decodificar a porta do Banco"); }