20.03.2008, 20:59
hi,
i have a problem..
i made gamemode,
and one function doesnt work rightly
it works only with player id 0...
but need to work for all players.
Sorry for my bad English.
i have a problem..
i made gamemode,
and one function doesnt work rightly

it works only with player id 0...
but need to work for all players.
Код:
SendClientMessageToAll(0x33FF33AA, "Los Santos Vagos Laimejo si rounda!"); RemovePlayerFromVehicle(playerid); TextDrawHideForAll(draw); GameTextForAll("~g~|~w~Los Santos Vagos Laimejo si rounda.~g~|", 1000, 4); Team1Score = 0; Team2Score = 0; Team3Score = 0; Team4Score = 0; if(gTeam[playerid] == TEAM_Grove) { SetPlayerPos(playerid,2520.6484,-1679.1588,15.1480); } if(gTeam[playerid] == TEAM_Ballas) { SetPlayerPos(playerid,2068.7036,-1643.9050,13.5469); } if(gTeam[playerid] == TEAM_Aztecas) { SetPlayerPos(playerid,1695.4946,-2125.0725,13.8101); } if(gTeam[playerid] == TEAM_Vagos) { SetPlayerPos(playerid,2510.6824,-1041.7144,69.4176); } SpawnPlayer(playerid); SetPlayerHealth(playerid, 100);
