Please Help Me In Spawn
#4

When the "Death Stadium" mode is ON and a player enters this interior, set a variable like DeathStadium[playerid] = 1. When Death Stadium mode is OFF, keep that variable to 0. Now, obviously when a player participates in the Death Stadium, DeathStadium[playerid] will be 1. From this point, all you have to do is add an if-statement under OnPlayerSpawn that looks like this:
pawn Код:
if(DeathStadium[playerid] == 1)
{
//teleport playerid to the Death Stadium interior
}
Reply


Messages In This Thread
Please Help Me In Spawn - by rashidkhoso37 - 12.02.2015, 19:21
Re: Please Help Me In Spawn - by HazardouS - 12.02.2015, 19:22
Re: Please Help Me In Spawn - by rashidkhoso37 - 12.02.2015, 19:30
Re: Please Help Me In Spawn - by HazardouS - 12.02.2015, 19:33
Re: Please Help Me In Spawn - by rashidkhoso37 - 13.02.2015, 05:17

Forum Jump:


Users browsing this thread: 1 Guest(s)