ZCMD, /exit error! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ZCMD, /exit error! (
/showthread.php?tid=385345)
ZCMD, /exit error! -
RenovanZ - 15.10.2012
Removed
Re: ZCMD, /exit error! -
Abhishek. - 15.10.2012
ah as if i think i know the for loop syntax is
not
i think its your only problem plz notify me later if you get more problems
EDIT

ops your loose identation warning will be stoped by using
well i think its the right spelling and thing because i was a bit far from programming for a bit time
Re: ZCMD, /exit error! -
Lordzy - 15.10.2012
You're using " ( " instead of " { " at the ends of those lines.
Change it to "{" (Without quotes) and the problem might get solved.
Re: ZCMD, /exit error! - Emmet_ - 15.10.2012
pawn Код:
for(new b = 1; b < sizeof(BusinessInfo); b++) {
if (IsPlayerInRangeOfPoint(playerid,1.0, BusinessInfo[b][bExitX], BusinessInfo[b][bExitY], BusinessInfo[b][bExitZ])) {
SetPlayerPos(playerid, BusinessInfo[b][bEntranceX], BusinessInfo[b][bEntranceY], BusinessInfo[b][bEntranceZ]);
SetPlayerFacingAngle(playerid, BusinessInfo[b][bEntranceA]);
SetPlayerInterior(playerid, BusinessInfo[b][bInt]);
SetPlayerVirtualWorld(playerid, BusinessInfo[b][bWorld]);
InsideBiz[playerid] = 0;
return 1;
}
Re: ZCMD, /exit error! -
RenovanZ - 15.10.2012
Removed
Re: ZCMD, /exit error! - Emmet_ - 15.10.2012
pawn Код:
if (IsPlayerInRangeOfPoint(playerid,1.0, BusinessInfo[b][bExitX], BusinessInfo[b][bExitY], BusinessInfo[b][bExitZ])) {
Re: ZCMD, /exit error! -
RenovanZ - 15.10.2012
Removed