20.07.2011, 19:10
i want to check if Any player in the server is in Example VirtualWorld 1
So there is anyone in VirtualWorld 1
Then the other player is put in VirtualWorld 2
im not sure how to do that :X
Im Not Sure if it would work because i cant test the code
if anyone can help out would be grate TNX
So there is anyone in VirtualWorld 1
Then the other player is put in VirtualWorld 2
im not sure how to do that :X
pawn Код:
//what i got is This (But Im Not Sure its Right)
//first i set the VirtualWorld to 2
//and from there it goes D:
SetPlayerVirtualWorld(playerid, 2);
for(new AnyId; AnyId < MAX_PLAYERS; AnyId ++)
{
if(GetPlayerVirtualWorld(AnyId)>=2)
{
new VirtualWorld = GetPlayerVirtualWorld(AnyId);
SetPlayerVirtualWorld(playerid,VirtualWorld++);
}
}
if anyone can help out would be grate TNX