[pomoc]komanda

Započeo Darko Atanasovicâ„¢, Februar 26, 2013, 20:02:00 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:GTA RP
Detaljan opis problema:pa ovako kad se inv ja sam sebe ono primi ga ceo server u tu org sredite cmd
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Poslednja Izmena: Februar 27, 2013, 13:48:17 POSLE PODNE od metocar1234


sry za spam

daj pomozite itno mi e -,-

if(dialogid == 981)
{
    if(response)
{
        new ftext[20];
        foreach(Player, i)
        {
      if(PlayerInfo[i][pLeader] == 1) { PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; ftext = "PD"; ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); }
      else if(PlayerInfo[i][pLeader] == 2) { PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; ftext = "fbi"; ChosenSkin[playerid] = 24; SetPlayerSkin(playerid, 24); }
else if(PlayerInfo[i][pLeader] == 3) { PlayerInfo[playerid][pTeam] = 1; gTeam[playerid] = 1; ftext = "ARM"; ChosenSkin[playerid] = 285; SetPlayerSkin(playerid, 285); }
else if(PlayerInfo[i][pLeader] == 4) { PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; ftext = "MD"; ChosenSkin[playerid] = 71; SetPlayerSkin(playerid, 71); }
else if(PlayerInfo[i][pLeader] == 5) { PlayerInfo[playerid][pTeam] = 6; gTeam[playerid] = 6; ftext = "LCN"; ChosenSkin[playerid] = 121; SetPlayerSkin(playerid, 121); }
else if(PlayerInfo[i][pLeader] == 6) { PlayerInfo[playerid][pTeam] = 7; gTeam[playerid] = 7; ftext = "Yakuza"; ChosenSkin[playerid] = 111; SetPlayerSkin(playerid, 111); }
else if(PlayerInfo[i][pLeader] == 7) { PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; ftext = "Vlada"; ChosenSkin[playerid] = 163; SetPlayerSkin(playerid, 163); }
else if(PlayerInfo[i][pLeader] == 8) { PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; ftext = "Hitman"; ChosenSkin[playerid] = 20; SetPlayerSkin(playerid, 20); }
else if(PlayerInfo[i][pLeader] == 9) { PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; ftext = "Kanal 7"; ChosenSkin[playerid] = 171; SetPlayerSkin(playerid, 171); }
else if(PlayerInfo[i][pLeader] == 10) { PlayerInfo[playerid][pTeam] = 15; gTeam[playerid] = 15; ftext = "Taxi"; ChosenSkin[playerid] = 210; SetPlayerSkin(playerid, 210); }
else if(PlayerInfo[i][pLeader] == 11) { PlayerInfo[playerid][pTeam] = 16; gTeam[playerid] = 16; ftext = "Licenser"; ChosenSkin[playerid] = 171; SetPlayerSkin(playerid, 171); }
      else if(PlayerInfo[i][pLeader] == 12) { PlayerInfo[playerid][pTeam] = 16; gTeam[playerid] = 16; ftext = "LSG"; ChosenSkin[playerid] = 175; SetPlayerSkin(playerid, 175); }
      else if(PlayerInfo[i][pLeader] == 13) { PlayerInfo[playerid][pTeam] = 16; gTeam[playerid] = 16; ftext = "GSF"; ChosenSkin[playerid] = 105; SetPlayerSkin(playerid, 105); }
      else { }
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[i][pMember] = PlayerInfo[playerid][pLeader];
PlayerInfo[i][pRank] = 1;
printf("AdmCmd: %s prikluci igrac za vlez vo %s.", sendername, ftext);
format(string, sizeof(string), "Se priklucivte vo %s, pokaneti ste od lider %s", ftext, sendername);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "%s ja prifati ponudata za vlez vo %s.", sendername,ftext);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
Pokana[playerid] = 1;
format(string, sizeof(string), "%s ja prifati ponudata za clenstvo.", sendername);
      ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SendClientMessage(playerid, COLOR_WHITE,"{37F906}INFO:{FFFFFF}Ja Odbivte ponudata za Clenstvo!");
format(string, sizeof(string), "%s ja odbi ponudata za clenstvo.", sendername);
    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    Pokana[playerid] = 0;
}
}