a problem on player spawns
#5

red's
Quote:
Originally Posted by 1126;1032391
[CODE

public OnPlayerSpawn(playerid)
{
SetPlayerToTeamColor(playerid);
if(gTeam[playerid] = TEAM_NEWBEYOND)
{
new newbeyondspawn;
newbeyondspawn = random(sizeof(gNewbeyondSpawns));
SetPlayerPos(playerid,gNewbeyondSpawns[newbeyondspawn][0],gNewbeyondSpawns[newbeyondspawn][1],gNewbeyondSpawns[newbeyondspawn][2]);
SetPlayerFacingAngle(playerid,gNewbeyondSpawns[newbeyondspawn][3]);
SetPlayerInterior(playerid, 1;
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,200.0);
GivePlayerMoney(playerid,1000);
}
else if(gTeam[playerid] = TEAM_400K)/*<missed in my question,but no matter else if or just else,the problem's still here,i tried.
{
new fkspawn;
fkspawn = random(sizeof(g400KSpawns));
SetPlayerPos(playerid,g400KSpawns[fkspawn][0],g400KSpawns[fkspawn][1],g400KSpawns[fkspawn][2]);
SetPlayerFacingAngle(playerid,g400KSpawns[fkspawn][3]);
SetPlayerInterior(playerid, 1;
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,200.0);
GivePlayerMoney(playerid,1000);
}
return 1;
}
[/CODE]
Reply


Messages In This Thread
a problem on player spawns - by 1126 - 23.01.2011, 03:27
Re: a problem on player spawns - by 1126 - 23.01.2011, 11:07
Re: a problem on player spawns - by Fool - 23.01.2011, 11:12
Re: a problem on player spawns - by 1126 - 23.01.2011, 11:29
Re: a problem on player spawns - by 1126 - 23.01.2011, 12:13
Re: a problem on player spawns - by 1126 - 23.01.2011, 13:58

Forum Jump:


Users browsing this thread: 5 Guest(s)