SA-MP Forums Archive
[SOLVED]Get player 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]Get player virtual world (/showthread.php?tid=143228)



[SOLVED]Get player virtual world - Faith - 21.04.2010

Hello

Is there a max number for this?
Cause i currently has some virtual worlds higher than 100, but it seems like it can't use GetPlayerVirtualWorld(playerid) == 100) and above.
Or am i just completely wrong?


Re: Get player virtual world - RyDeR` - 21.04.2010

Limits of virtual worlds: https://sampwiki.blast.hk/wiki/Limits
I think it's more of enough.. Don't worry you can use them.


Re: Get player virtual world - Correlli - 21.04.2010

This:
pawn Код:
if(GetPlayerVirtualWorld(playerid) == 100)
{
  // code.
}
should work just fine (for checking the VW-ID 100).


Re: Get player virtual world - Faith - 21.04.2010

Mm.. might just recheck my code again then.

Thanks


[SOLVED] Get player virtual world - Faith - 21.04.2010

Oh christ.
I found the error.
Too big line makes it an error
It's solved. Thanks guys!