Pomoc Invite

Započeo HOB1x, Decembar 11, 2012, 18:54:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:CITYWALL
Detaljan opis problema:Pa kad kucam /invite da mi pokaze dialog i dali da prihvatam ili ne
Kud meni ovako je to invite ako mogu neko da edit i dami da bicu mnogo zablogadaren
if(strcmp(cmd, "/invite", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /invite [playerid/PartOfName]");
return 1;
}
new para1;
new ftext[20];
para1 = ReturnUser(tmp);
if (PlayerInfo[playerid][pLeader] >= 1)
{
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
        if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Police Force"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
        else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI/ATF"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
        else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "National Guard"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
        else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
        else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "La Cosa Nostra"; ChosenSkin[para1] = 258; SetPlayerSkin(para1, 120); }
        else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yakuza"; ChosenSkin[para1] = 120; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }
        else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
        else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "CNN Studio"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }
        else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
        else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Lokalna mafija"; ChosenSkin[para1] = 116; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "GrooveStreet"; ChosenSkin[para1] = 100; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "School Instructors"; ChosenSkin[para1] = 59; SetPlayerSkin(para1, 59); }
        else { return 1; }
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];
PlayerInfo[para1][pRank] = 1;
printf("AdmCmd: %s Go prikluci %s za vlez vo %s.", sendername, giveplayer, ftext);
format(string, sizeof(string), "   Se priklucivte vo %s, pokaneti ste od lider %s", ftext, sendername);
SendClientMessage(para1, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "   Go ubacivte %s vo %s.", giveplayer,ftext);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SetPlayerInterior(para1,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(para1, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(para1, gInviteSpawns[rand][3]);
SetPlayerCameraPos(para1,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(para1,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(para1, 0);
    SelectChar[para1] = 255;
    SelectCharID[para1] = PlayerInfo[para1][pMember];
    SelectCharPlace[para1] = 1;
    PlayerInfo[para1][pModel] = ChosenSkin[para1];
    PlayerInfo[para1][pChar] = ChosenSkin[para1];
    SendClientMessage(para1, COLOR_LIGHTRED, "* Koristi 'next' da izberete skin.");
    SendClientMessage(para1, COLOR_LIGHTRED, "* koga ke pronajdete skin,napisete 'done'.");
}
}//not connected
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Ne ste ovlasteni za taa komanda,samo lideri!");
}
}
return 1;
}

Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Poslednja Izmena: Decembar 12, 2012, 07:50:40 PRE PODNE od HOB1x

if(strcmp(cmd, "/invite", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristi: /invite[playerid/Deo Imena]");
return 1;
}
new para1;
new ftext[20];
para1 = ReturnUser(tmp);
if (PlayerInfo[playerid][pLeader] >= 1)
{
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
    if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
    {
        f(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Police Force"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
        else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI/ATF"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
        else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "National Guard"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
        else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
        else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "La Cosa Nostra"; ChosenSkin[para1] = 258; SetPlayerSkin(para1, 120); }
        else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yakuza"; ChosenSkin[para1] = 120; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }
        else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
        else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "CNN Studio"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }
        else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
        else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Lokalna mafija"; ChosenSkin[para1] = 116; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "GrooveStreet"; ChosenSkin[para1] = 100; SetPlayerSkin(para1, 258); }
        else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "School Instructors"; ChosenSkin[para1] = 59; SetPlayerSkin(para1, 59); }
        else { return 1; }
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];
PlayerInfo[para1][pRank] = 1;
printf("AdmCmd: %s has invited %s to join %s.", sendername, giveplayer, ftext);
format(string, sizeof(string), "   Pridruzili ste se %s, ubaceni ste od strane Lidera %s", ftext, sendername);
SendClientMessage(para1, -1, string);
format(string, sizeof(string), "   Ubacili ste %s u vasu organizaciju %s.", giveplayer,ftext);
SendClientMessage(playerid, -1, string);
}
else
{
    SendClientMessage(playerid, -1, "  Igrac trenutno ima Wanted / a Different Team / ili je clan Druge organizacije.");
    return 1;
}
}
}//not connected
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   niste ovlasceni da koristite ovu komandu(leader only)!");
}
}
return 1;
}

Hvala mnogo sredio sam to ali ovo sa /giverank kad kucam /giverank id 1 da daje drug skin /giverank id 2 i sve tako dalje drugi skinovi mogu da mi pomozite? PLS
evo vi kod od kud meni

if(strcmp(cmd, "/giverank", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTI: /giverank [playerid/PartOfName] [Number(1-6)]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(level > 6 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "   Dont go below number 0, or above number 6!"); return 1; }
if (PlayerInfo[playerid][pLeader] >= 1)
{
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pRank] = level;
format(string, sizeof(string), "   Promovirani ste so povisok rank od lider %s", sendername);
SendClientMessage(para1, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "   Dadovte na %s Rank %d.", giveplayer,level);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Ne ste ovlasteni za taa komanda,samo lideri!");
}
}
return 1;
}

if(strcmp(cmd, "/giverank", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, -1, "Koristi: /giverank [playerid/Deo Imena] [broj(1-6)]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
            if(level > 9 || level < 0) { SendClientMessage(playerid, COLOR_GREY, " SERVER: Koristite 1-9."); return 1; }
if(PlayerInfo[playerid][pLeader] == 2 && PlayerInfo[para1][pMember] != 2)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 3 && PlayerInfo[para1][pMember] != 3)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 4 && PlayerInfo[para1][pMember] != 4)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 5 && PlayerInfo[para1][pMember] != 5)
{
    SendClientMessage(playerid, COLOR_GRAD2, "Pristup odbijen!");
return 1;
}
/*
if(PlayerInfo[playerid][pLeader] == 6 && PlayerInfo[para1][pMember] != 6)
{
    SendClientMessage(playerid, -1, "Access denied!");
return 1;
}
*/
if(PlayerInfo[playerid][pLeader] == 7)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 8 && PlayerInfo[para1][pMember] != 8)
{
    SendClientMessage(playerid, COLOR_GRAD2, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 9 && PlayerInfo[para1][pMember] != 9)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 10 && PlayerInfo[para1][pMember] != 10)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 11 && PlayerInfo[para1][pMember] != 11)
{
    SendClientMessage(playerid, -1, "Pristup odbijen!");
return 1;
}
if (PlayerInfo[playerid][pLeader] >= 1)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pRank] = level;
format(string, sizeof(string), " Promovisani ste na veci rank od strane Lidera %s", sendername);
SendClientMessage(para1, COLOR_WHITE, string);
format(string, sizeof(string), " Promovisali ste %s na Rank %d.", giveplayer,level);
SendClientMessage(playerid, COLOR_WHITE, string);
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 71; SetPlayerSkin(para1, 71); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 266; SetPlayerSkin(para1, 266); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 267; SetPlayerSkin(para1, 267); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 265; SetPlayerSkin(para1, 265); }
else if(PlayerInfo[para1][pRank] == 7) { PlayerInfo[para1][pChar] = 282; SetPlayerSkin(para1, 282); }
else if(PlayerInfo[para1][pRank] == 8) { PlayerInfo[para1][pChar] = 288; SetPlayerSkin(para1, 288); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 163); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 163); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 163); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 163); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 164; SetPlayerSkin(para1, 164); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 165; SetPlayerSkin(para1, 165); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 141; SetPlayerSkin(para1, 141);
}
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 287; SetPlayerSkin(para1, 287); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 276; SetPlayerSkin(para1, 276); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 275; SetPlayerSkin(para1, 275); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 275; SetPlayerSkin(para1, 275); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 274; SetPlayerSkin(para1, 274); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 70; SetPlayerSkin(para1, 70); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 228; SetPlayerSkin(para1, 228); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 71; SetPlayerSkin(para1, 71); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 282; SetPlayerSkin(para1, 282); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 288; SetPlayerSkin(para1, 288); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 283; SetPlayerSkin(para1, 283); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 125; SetPlayerSkin(para1, 125); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 223; SetPlayerSkin(para1, 223); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 124; SetPlayerSkin(para1, 124); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 258; SetPlayerSkin(para1, 258); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 126; SetPlayerSkin(para1, 126); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 98; SetPlayerSkin(para1, 98); }
else if(PlayerInfo[para1][pRank] == 7) { PlayerInfo[para1][pChar] = 127; SetPlayerSkin(para1, 127); }
else if(PlayerInfo[para1][pRank] == 8) { PlayerInfo[para1][pChar] = 113; SetPlayerSkin(para1, 113); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 41; SetPlayerSkin(para1, 41);
}
}
else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 163); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 227; SetPlayerSkin(para1, 227); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 164; SetPlayerSkin(para1, 164); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 17; SetPlayerSkin(para1, 17); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 147; SetPlayerSkin(para1, 147); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 187; SetPlayerSkin(para1, 187); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 71; SetPlayerSkin(para1, 71); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 282; SetPlayerSkin(para1, 282); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 288; SetPlayerSkin(para1, 288); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 283; SetPlayerSkin(para1, 283); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 71; SetPlayerSkin(para1, 71); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 282; SetPlayerSkin(para1, 282); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 288; SetPlayerSkin(para1, 288); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 283; SetPlayerSkin(para1, 283); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 124; SetPlayerSkin(para1, 124); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 124; SetPlayerSkin(para1, 124); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 46; SetPlayerSkin(para1, 46); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 98; SetPlayerSkin(para1, 98); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 126; SetPlayerSkin(para1, 126); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 126; SetPlayerSkin(para1, 126); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
}*/
}
}
}
else
{
SendClientMessage(playerid, -1, " niste ovlasceni da koristite ovu komandu(lideri samo)!");
}
}
return 1;
}

Sredio sam to pomogli ste mi.. Vidite pogore ima novo
Pozdraf