18.07.2014, 06:34
Thanks for answer,
You mean this ? :
If yes, It fully f-ckup the spawnin'.
You mean this ? :
pawn Код:
new spawnid;
do spawnid=gSpawns;
while (gSpawn[spawnid][spTeam]!=PlayerInfo[playerid][pTeam]);
SetPlayerPos(playerid,gSpawn[spawnid][spX],gSpawn[spawnid][spY],gSpawn[spawnid][spZ]);
SetPlayerFacingAngle(playerid,gSpawn[spawnid][spA]);
SetPlayerColor(playerid,gTeam[PlayerInfo[playerid][pTeam]][tColor]);