How To: check if its the player's first spawn
#6

would this work?:

Код:
new FirstSpawn[MAX_PLAYERS];
then:

Код:
stock FirstTimeSpawning(playerid, type)
{
	if (type == 0) //not the first time
	{
	  FirstSpawn[playerid] = 0;
	  
	}
	if (type == 1) //First time
	{
		FirstSpawn[playerid] = 1;
	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)