09.10.2011, 15:38
Eu ja Olhei Nisso e num resolveu no /convidar ta assim
Eu queria saber Onde mudar para resolver isso
PHP код:
org = GetPlayerOrg(playerid);
if(ConviteInfoOrg(PlayerNamex(para1), org, 1)) { } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Sua organizaзгo estб cheia limpe uma vaga!"); return 1;}
if(org == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Policia Militar LS"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "BOPE"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "EXERCITO"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 4) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Medicos"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 5) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Los Aztecas"; ChosenSkin[para1] = 115; SetPlayerSkin(para1, 115); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Taliban"; ChosenSkin[para1] = 122; SetPlayerSkin(para1, 122); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 7) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Prefeitura LS"; ChosenSkin[para1] = 163; SetPlayerSkin(para1, 163); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 8) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Hitmans"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 9) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "CNN Studio"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 10) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Taxistas"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 11) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "School Instructors"; ChosenSkin[para1] = 103; SetPlayerSkin(para1, 103); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 12) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Amigo dos Amigos"; ChosenSkin[para1] = 18; SetPlayerSkin(para1, 18); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 15) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Groove Street"; ChosenSkin[para1] = 105; SetPlayerSkin(para1, 105); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 16) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Alqaeda"; ChosenSkin[para1] = 30; SetPlayerSkin(para1, 30); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 17) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Policia Civil"; ChosenSkin[para1] = 141; SetPlayerSkin(para1, 141); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 18) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Ballas"; ChosenSkin[para1] = 103; SetPlayerSkin(para1, 103); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 19) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Los VagoS"; ChosenSkin[para1] = 109; SetPlayerSkin(para1, 227); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Mafia Yakuza"; ChosenSkin[para1] = 117; SetPlayerSkin(para1, 117);ChosenSkin[para1] = 118; SetPlayerSkin(para1, 118); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 21) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Sons Of Anarchy"; ChosenSkin[para1] = 248; SetPlayerSkin(para1, 248); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 22) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Mafia Cosa Nostra"; ChosenSkin[para1] = 117; SetPlayerSkin(para1, 117); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 23) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Comando Vermelho"; ChosenSkin[para1] = 24; SetPlayerSkin(para1, 24); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 24) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Drifters"; ChosenSkin[para1] = 28; SetPlayerSkin(para1, 28); SetPlayerColor(para1,COLOR_GRAD2);}
if(org == 25) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Policia Federal"; ChosenSkin[para1] = 290; SetPlayerSkin(para1, 290); SetPlayerColor(para1,COLOR_PF);}
//else { return 1; }