SA-MP Forums Archive
Exit - 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: Exit (/showthread.php?tid=425779)



Exit - N0FeaR - 26.03.2013

Here is my exit for my bizz but i got no erros but when i type /exit nothing happends can you guys see the problem here?

pawn Код:
for(new i = 0; i <  sizeof(BizzInfo); i++)
            if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) {
                if(HouseEntered[playerid] == i) {
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid,0);
                    HouseEntered[playerid] = 225;
                    DOO_SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
                    PlayerInfo[playerid][pLocal] = 255;
                    SetPlayerVirtualWorld(playerid,0);



Re: Exit - Denying - 26.03.2013

Open the loop and close it after all the code?