Virtual World !
#6

This might help you

Quote:
Originally Posted by Sir_Brock
Посмотреть сообщение
What Kye recommended to me was using a virtual world for the interior, so I did. On the spawn for Rappers (interior 5)/Grove (interior 2)/Drug Dealers (interior 12) on my server, I have made them spawn in virtual world 1.

And the in OnPlayerInteriorChange I have written this...
Код:
if((newinteriorid == 5 || newinteriorid == 2 || newinteriorid == 12) && GetPlayerVirtualWorld(playerid) == 0) SetPlayerVirtualWorld(playerid, 1);
if((oldinteriorid == 5 || oldinteriorid == 2 || oldinteriorid == 12) && newinteriorid == 0 && GetPlayerVirtualWorld(playerid) == 1) SetPlayerVirtualWorld(playerid, 0);
Kye says that he isn't sure whether this will be something that will be changed in 0.3b, so for now, this is the best solution going.
Reply


Messages In This Thread
Virtual World ! - by dorperez - 14.12.2011, 16:31
Re: Virtual World ! - by Sascha - 14.12.2011, 16:35
Re: Virtual World ! - by dorperez - 14.12.2011, 17:59
Re: Virtual World ! - by Rob_Maate - 14.12.2011, 18:10
Re: Virtual World ! - by dorperez - 15.12.2011, 15:23
Re: Virtual World ! - by T0pAz - 15.12.2011, 15:30
Re: Virtual World ! - by dorperez - 15.12.2011, 16:26
Re: Virtual World ! - by dorperez - 16.12.2011, 12:59
Re: Virtual World ! - by dorperez - 16.12.2011, 22:50
Re: Virtual World ! - by dorperez - 17.12.2011, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)