SA-MP Forums Archive
I need help with Virtual World - 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: I need help with Virtual World (/showthread.php?tid=462818)



I need help with Virtual World - TonyII - 08.09.2013

Hey, how can I make so like sort of loop it through virtual worlds and see wich one is not used yet, completely global?


Re: I need help with Virtual World - Fierro - 08.09.2013

What do you mean by which one is not used? If there are no players/vehicles there?


Re: I need help with Virtual World - TonyII - 08.09.2013

pawn Код:
CMD:checkvw(playerid, params[])
{
    for(new i;i<MAX_DOORS;i++)
    {
        for(new x;x<MAX_VWS;x++)
        {
            if(DoorInfo[i][InteriorVW] //I'm stuck over here how can I check wich interior vw is not used?



Re: I need help with Virtual World - Konstantinos - 08.09.2013

Interior differs from Virtual World. Which one you want to check?


Re: I need help with Virtual World - TonyII - 08.09.2013

Oh, ignore the interior part, thats like a house interior