06.03.2015, 01:26
Код:
public OnPlayerRequestClass(playerid, classid){ SetSkinToMeSkin[playerid]=500; new skin=GetPlayerSkin(playerid); switch(skin){ case 125,124:{ SetPlayerPos(playerid, -382.5999,2206.6169,42.4236); SetPlayerFacingAngle(playerid,280.0); if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~r~TERRORISTS",2000,3); SetPlayerColor(playerid,COLOR_LIGHTRED);SKIN[playerid]=skin; SetPlayerCameraPos(playerid, -379.5999,2206.6169,42.4236); SetPlayerCameraLookAt(playerid, -382.5999,2206.6169,42.4236);} case 285,287:{ SetPlayerPos(playerid, 212.7791,1919.7570,17.6406); SetPlayerFacingAngle(playerid,180.0); if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~SWAT",2000,3); SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin; SetPlayerCameraPos(playerid, 212.7791,1916.7570,17.6406); SetPlayerCameraLookAt(playerid, 212.7791,1919.7570,17.6406);} case 286:{ if(YourDonatorVariable > 0) { SetPlayerPos(playerid, -4.4729,1503.8311,12.8914); SetPlayerFacingAngle(playerid,7.0); if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~SWAT",2000,3); SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin; SetPlayerCameraPos(playerid, -4.8970,1507.1229,12.8914); SetPlayerCameraLookAt(playerid, -4.4729,1503.8311,12.8914); GameTextForPlayer(playerid,"~b~DONATOR",2000,3); } } } return 1;}