SetPlayerVirtualWorld...
#9

pawn Code:
// Top of the script
new PlayerWorld;

// Under OnGameModeInit
PlayerWorld = 0;

// Under OnPlayerConnect
PlayerWorld++;

// Under OnPlayerDisconnect
PlayerWorld--;

// Under OnPlayerSpawn
SetPlayerVirtualWorld(playerid, PlayerWorld);
Try this, untested.
Basically the same as MP2 said, I was making it while he posted it.
Reply


Messages In This Thread
SetPlayerVirtualWorld... - by lukas567 - 12.12.2011, 08:21
Re: SetPlayerVirtualWorld... - by suhrab_mujeeb - 12.12.2011, 08:25
Re: SetPlayerVirtualWorld... - by lukas567 - 12.12.2011, 08:37
Re: SetPlayerVirtualWorld... - by Dragony92 - 12.12.2011, 08:39
Re: SetPlayerVirtualWorld... - by lukas567 - 12.12.2011, 08:42
Re: SetPlayerVirtualWorld... - by Dragony92 - 12.12.2011, 08:44
Re: SetPlayerVirtualWorld... - by lukas567 - 12.12.2011, 08:49
Re: SetPlayerVirtualWorld... - by MP2 - 12.12.2011, 08:49
Re: SetPlayerVirtualWorld... - by suhrab_mujeeb - 12.12.2011, 08:49

Forum Jump:


Users browsing this thread: 1 Guest(s)