22.06.2015, 15:48
(8229) : error 029: invalid expression, assumed zero
Script :
Please help, tnx
Script :
Quote:
forward UnsetKucaRob(); public UnsetKucaRob() { KucaRobbedRecently = 0; return 1; } forward RobKuca(playerid); public RobKuca(playerid) { new string[128]; for(new i = 0; i < sizeof(KucaInfo); i++) { if(IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo[i][kUlazX], KucaInfo[i][kUlazY], KucaInfo[i][kUlazZ])) { if(KucaRobbingTime[playerid] > 0) { KucaRobbingTime[playerid] --; format(string, sizeof(string),"~w~Ostanite kod vrata te kuce jos ~r~%d ~w~sekundi !", KucaRobbingTime[playerid]); GameTextForPlayer(playerid, string, 1000, 4); } else { KillTimer(RobKucaTimer); KucaRobbingTime[playerid] = 0; SetPlayerVirtualWorld(playerid, KucaInfo[i][kVW]); SetPlayerInterior(playerid, KucaInfo[i][kInt]); SetPlayerPos(playerid, KucaInfo[i][kIzlazX], KucaInfo[i][kIzlazY], KucaInfo[i][kIzlazZ]); format(string,sizeof(string),"Lopov %s razvaljuje vrata od kuce i hitro ulazi u nju!",GetName(playerid)); ProxDetector(10.0, playerid, string,PROX,PROX,PROX,PROX,PROX); } } } else ////////////////////////////////////////////////////////// 8229 this line { format(string, sizeof(string),""ORANGE"INFO:"BELA"Otisli ste sa pickupa i provaljivanje vam se prekinulo!"); KucaRobbingTime[playerid] = 0; KillTimer(RobKucaTimer); } return 1; } |