VirtualWorld for object ? - 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: VirtualWorld for object ? (
/showthread.php?tid=315793)
VirtualWorld for object ? -
BGMike - 04.02.2012
Hello, is there any way to set a virtual world for object ?
I saw Incognito's streamer, but there is no function for setvirtualworld for object.
Re: VirtualWorld for object ? -
[XST]O_x - 04.02.2012
AFAIK no, but you can do something like this:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if( (IsPlayerConnected(i)) && (GetPlayerVirtualWorld(i) == /*idk*/) )
{
CreatePlayerObject(i,modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);
}
}
Re: VirtualWorld for object ? -
BGMike - 04.02.2012
Is there otherwise or not ?