Donator class only level 1
#5

Just write it like this:

Код:
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(GetPlayerScore(playerid) < 1) return 1;
        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;}
Reply


Messages In This Thread
Donator class only level 1 - by Fantje - 05.03.2015, 16:37
Re : Donator class only level 1 - by yusei - 05.03.2015, 16:54
Re: Donator class only level 1 - by Fantje - 05.03.2015, 18:22
Re: Donator class only level 1 - by Fantje - 05.03.2015, 18:54
AW: Donator class only level 1 - by Kaliber - 05.03.2015, 18:55
Re: Donator class only level 1 - by X337 - 06.03.2015, 01:26
Re: Donator class only level 1 - by Fantje - 06.03.2015, 06:58
Respuesta: Donator class only level 1 - by JuanStone - 06.03.2015, 07:07
Re: Donator class only level 1 - by Fantje - 06.03.2015, 07:16
Respuesta: Donator class only level 1 - by JuanStone - 06.03.2015, 07:22

Forum Jump:


Users browsing this thread: 3 Guest(s)