• Страница 1 из 1
  • 1
Форум | www.SAMP-TEAM.com » San Andreas MultiPlayer » Вопросы и проблемы » ПОМОГИТЕ!!! (У меня проблема с фракциями)
ПОМОГИТЕ!!!
Код
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(33) : error 029: invalid expression, assumed zero
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(33) : error 008: must be a constant expression; assumed zero
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(301) : error 014: invalid statement; not in switch
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(301) : warning 215: expression has no effect
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(301) : error 001: expected token: ";", but found ":"
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(301) : error 029: invalid expression, assumed zero
C:\Users\asus\Desktop\Разное\JamaicaRolePaly\gamemodes\jmrp.pwn(301) : fatal error 107: too many error messages on one line

Сам код 33стр
Код
new JoinPed[58][1] = {
{56},
{57},
{58},
};

301 стр
Код
public OnPlayerText(playerid, text[])
{
     case 15: //Balas
     {
     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[56][1]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[56][2]; }
     else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[57][2]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[57][2]; }
     else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[58][3]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58][3]; }
     }
     return 1;
}

Помогите очень надооо!!! cry cry cry cry

Добавлено (06.06.2014, 18:07)
---------------------------------------------
bag bag bag

06.06.2014 в 18:07
Код
new JoinPed[3][1] = {  
{56},  
{57},  
{58}
};


Код
public OnPlayerText(playerid, text[])  
{  
switch(PlayerInfo[playerid][pMember])
   {
      case 15: //Balas  
      {  
      if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[56][1]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[56][2]; }  
      else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[57][2]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[57][2]; }  
      else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[58][3]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[58][3]; }  
}
      }  
      return 1;  
}


Пробуй так
07.06.2014 в 01:26
Форум | www.SAMP-TEAM.com » San Andreas MultiPlayer » Вопросы и проблемы » ПОМОГИТЕ!!! (У меня проблема с фракциями)
  • Страница 1 из 1
  • 1
Поиск: