Check if point is occupied
#12

Quote:
Originally Posted by Viggo
View Post
At the beginning of the idea it's the same, but Private200 added a nice touch to his idea at the end which is the touch I need, but I'm waiting for more ideas, more efficient ideas if there are any.

You need to read more dude, just read slowly and understand what you read.
Quote:
Originally Posted by Private200
View Post
What is left to do is a function that checks whether there is a free (boolean set to false) spawn point. If there is none, just choose a random one from the whole set of spawn points.
PHP Code:
for(new 0MAX_SPAWN_POINTSi++){
    if(!
IsSpawnPointUsed[i]){
        
SetSpawnInfo(playeridplayerteamplayerskinwcrm_X[i], wcrm_Y[i], wcrm_Z[i], weaponammoweaponammoweaponammo);
        
IsSPawnPointUsed[i] = true;
    }    

Reply


Messages In This Thread
Check if point is occupied - by Viggo - 03.04.2019, 17:17
Re: Check if point is occupied - by v1k1nG - 03.04.2019, 17:47
Re: Check if point is occupied - by Viggo - 03.04.2019, 17:49
Re: Check if point is occupied - by Private200 - 03.04.2019, 17:54
Re: Check if point is occupied - by v1k1nG - 03.04.2019, 17:55
Re: Check if point is occupied - by Viggo - 03.04.2019, 17:59
Re: Check if point is occupied - by v1k1nG - 03.04.2019, 18:00
Re: Check if point is occupied - by Viggo - 03.04.2019, 18:01
Re: Check if point is occupied - by v1k1nG - 03.04.2019, 18:02
Re: Check if point is occupied - by RedFusion - 03.04.2019, 18:03
Re: Check if point is occupied - by Viggo - 03.04.2019, 18:03
Re: Check if point is occupied - by v1k1nG - 03.04.2019, 18:06
Re: Check if point is occupied - by Private200 - 03.04.2019, 18:08
Re: Check if point is occupied - by Viggo - 03.04.2019, 18:08
Re: Check if point is occupied - by Viggo - 03.04.2019, 18:13
Re: Check if point is occupied - by CONTROLA - 04.04.2019, 08:57
Re: Check if point is occupied - by Viggo - 04.04.2019, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)