error 029: invalid expression, assumed zero
#6

try this
pawn Код:
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;
}
Reply


Messages In This Thread
error 029: invalid expression, assumed zero - by Vaki - 22.06.2015, 15:48
Re: error 029: invalid expression, assumed zero - by PeterJane - 22.06.2015, 15:59
Re: error 029: invalid expression, assumed zero - by kyriakos587 - 22.06.2015, 16:01
Re: error 029: invalid expression, assumed zero - by Vaki - 22.06.2015, 16:09
Re: error 029: invalid expression, assumed zero - by PeterJane - 22.06.2015, 16:11
Re: error 029: invalid expression, assumed zero - by UltraScripter - 22.06.2015, 16:13
Re: error 029: invalid expression, assumed zero - by Vaki - 22.06.2015, 16:35

Forum Jump:


Users browsing this thread: 2 Guest(s)