Spawn
#4

Then do this: make a variable like this new CheckTeam[MAX_PLAYERS] = 0;

Then go to that place where you set his team and skin. For the first team under setting skin do this: CheckTeam[playerid] = 1;
And for another team the same thing but value should be 2.

And then go to onplayerspawn and make this

public OnPlayerSpawn(playerid)
{
if(CheckTeam[playerid] == 1)
{
//put here the thing for team 1 like skin and guns etc.
}
if(CheckTeam[playerid] == 2)
{
//Here put the things for team 2
}
return 1;
}
Reply


Messages In This Thread
Spawn - by Mohaowmad - 19.02.2019, 11:27
Re: Spawn - by TokicMajstor - 19.02.2019, 11:49
Re: Spawn - by Mohaowmad - 19.02.2019, 11:54
Re: Spawn - by TokicMajstor - 19.02.2019, 12:03
Re: Spawn - by Mohaowmad - 20.02.2019, 09:50

Forum Jump:


Users browsing this thread: 2 Guest(s)