Need some tips About Player Virtual world
#1

Hellu,
I want some tips in player Virtual world, Let me explain What i mean.
Look at the picture below, There are 4 spawn ( cars ). I want to make it like, when player press spawn button, put them in those 4 vehicles. If the 4 spawns have been taken place by some players so set another virtualworld for the players who spawned after first 4 players. So that the spawn should not be jammed with the players.
Sorry, I have no words to describe what i'm saying currently lol



I hope you guys got it what i mean.
Reply
#2

On the top
PHP код:
new virtualWorld 0;
new 
cars 0
Under spawn cars command or whatever code
PHP код:
cars++;
if(
cars == 4)
{
    
virtualWorld++;
    
cars 0;
    
SetVehicleVirtualWorld(vehicleidvirtualWorld);
}
else
{
    
SetVehicleVirtualWorld(vehicleidvirtualWorld);

And add your other code with it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)