Код:
new skinid = GetPlayerSkin(playerid);
switch(skinid)
{
case 1:
{
SetPlayerCameraPos(playerid, -521.3553, 16.9164, 113.5700);
SetPlayerPos(playerid, -511.7507, -99.1932, 59.6917);
Streamer_UpdateEx(playerid, -511.7507, -99.1932, 59.6917, 1, -1, -1);
SetPlayerCameraLookAt(playerid, -521.0043, 15.9757, 113.0250);
gTeam[playerid] = 1;
PlayerInfo[playerid][pTeamFaction] = 1;
}
case 2:
{
SetPlayerCameraPos(playerid, 118.3925, 642.3558, 35.6914);
SetPlayerPos(playerid, 100.7077,606.5372,7.9651);
Streamer_UpdateEx(playerid, 128.1438,688.3958,10.9314, 1, -1, -1);
SetPlayerCameraLookAt(playerid, 118.5663, 643.3447, 35.3062);
gTeam[playerid] = 2;
PlayerInfo[playerid][pTeamFaction] = 2;
}
default:
{
SetPlayerCameraPos(playerid, -521.3553, 16.9164, 113.5700);
SetPlayerPos(playerid, -511.7507, -99.1932, 59.6917);
Streamer_UpdateEx(playerid, -511.7507, -99.1932, 59.6917, 1, -1, -1);
SetPlayerCameraLookAt(playerid, -521.0043, 15.9757, 113.0250);
gTeam[playerid] = 1;
PlayerInfo[playerid][pTeamFaction] = 1;
}
}
Server alert many " client exceeded 'ackslimit' " when i press << or >> button OnPlayerRequestClass