28.12.2012, 07:35
(
Последний раз редактировалось siemka321; 28.12.2012 в 09:08.
)
Quote:
Without any code to build upon or look at, it's difficult to aid you much! The process itself is very simple however, simply check their team id prior to spawning them and set their spawn data appropriately.
|
Код:
public turaskeiciasi(playerid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { TogglePlayerControllable(i,1); ResetPlayerWeapons(i); ResetPlayerMoney(i); GivePlayerMoney(i,100); SetPlayerArmour(i,0); SetPlayerHealth(i,100); GivePlayerWeapon(i,22,300); PlayerPlaySound(i,1098,0,0,0); SetPlayerInterior(i,3); SetPlayerPos(i,2495.8982,-1707.8923,1014.7422); SetPlayerColor(i,COLOR_BLUE); SetPlayerInterior(i,6); SetPlayerPos(i,2343.0278,-1064.3197,1049.0234); SetPlayerColor(i,0xFF000090); SetTimer("turasbaigsis", 55000, false); redscore = 0; bluescore = 0; if(turas == 1) { turas = 2; } if(turas == 2) { turas = 1; } } } return 1; }