VirtualWorld
#1

I want to add an Virtual World at:

Код:
	    if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) //Faction no. 15 spawn
	    {
	        SetPlayerToTeamColor(playerid);
			SetPlayerPos(playerid, 2527.654052,-1679.388305,1015.498596);
			SetPlayerInterior(playerid,1);
			PlayerInfo[playerid][pInt] = 1;
	        return 1;
	    }
Can you help me please ?
Reply
#2

Yes..

Код:
if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) //Faction no. 15 spawn
{
	SetPlayerToTeamColor(playerid);
	SetPlayerPos(playerid, 2527.654052,-1679.388305,1015.498596);
	SetPlayerInterior(playerid,1);
	SetPlayerVirtualWorld(playerid, WHICHVIRTUALWORLDYOUWANT);
	PlayerInfo[playerid][pVW] = Whichvirtualworldtyouwant;
	PlayerInfo[playerid][pInt] = 1;
	return 1;
}
https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld
Reply
#3

What is the maximum number of VirtualWorld ?
Reply
#4

Quote:
Originally Posted by cotyzor
Посмотреть сообщение
What is the maximum number of VirtualWorld ?
I don't know if there is a limit, but you can just use 15, because the team is also number 15, so that's maybe a smart reminder.
Reply
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
There is a limit, but it's 4294967296, so I doubt you'll hit it any time soon...
How you know o.O
you know everything lol xD
Reply
#6

Quote:
Originally Posted by |_ⒾⓇⓄN_ⒹⓄG_|
Посмотреть сообщение
How you know o.O
you know everything lol xD
Reading is simple
Reply
#7

Quote:
Originally Posted by cotyzor
Посмотреть сообщение
What is the maximum number of VirtualWorld ?
Up-to the Infinity, No limits, I just recommend setting it to like for example 1400 and then get lower for 1339, 1338 etc.. in every world, to avoid bugs and messes of Virtual words.
Reply
#8

I think henkie has the right idea... stick to a number that resembles your team, it's alot easier that way... I can't see any logic in making it a random number like 1339...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)