[Pomoc]Kako ukloniti?

Započeo Miris Old Spice, Jul 17, 2011, 17:06:22 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:Balkan Story
Detaljan opis problema:Meni pise ako sam lider da nemogu promjeniti odjecu. kako to ukloniti
Dio skripte:if(strcmp(cmd, "/odjeca", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pMember] >= 1)
        {
            if(IsAtClothShop(playerid))
{
    if(PlayerInfo[playerid][pMember] == 1) { ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); }
else if(PlayerInfo[playerid][pMember] == 2) { ChosenSkin[playerid] = 286; SetPlayerSkin(playerid, 286); }
else if(PlayerInfo[playerid][pMember] == 3) { ChosenSkin[playerid] = 287; SetPlayerSkin(playerid, 287); }
else if(PlayerInfo[playerid][pMember] == 4) { ChosenSkin[playerid] = 70; SetPlayerSkin(playerid, 70); }
else if(PlayerInfo[playerid][pMember] == 5) { ChosenSkin[playerid] = 117; SetPlayerSkin(playerid, 117); }
else if(PlayerInfo[playerid][pMember] == 8) { ChosenSkin[playerid] = 249; SetPlayerSkin(playerid, 249); }
else if(PlayerInfo[playerid][pMember] == 9) { ChosenSkin[playerid] = 148; SetPlayerSkin(playerid, 148); }
else if(PlayerInfo[playerid][pMember] == 10) { ChosenSkin[playerid] = 255; SetPlayerSkin(playerid, 255); }
else if(PlayerInfo[playerid][pMember] == 16) { ChosenSkin[playerid] = 144; SetPlayerSkin(playerid, 144); }
else { return 1; }
GetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
ChangePos2[playerid][0] = GetPlayerInterior(playerid);
ChangePos2[playerid][1] = 1;
    SetPlayerInterior(playerid,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]);
SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
SelectChar[playerid] = 255;
SelectCharID[playerid] = PlayerInfo[playerid][pMember];
SelectCharPlace[playerid] = 1;
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
    PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Koristitete 'next' da bi ste izabrali odjecu koja vam se svidja.");
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Ako nadjete odgovarajucu odjecu koja vam se svidja, ukucajte 'done'.");
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "   Niste u prodavnici odjece !");
return 1;
}
        }
        else
        {
            if(PlayerInfo[playerid][pLeader] != 0)
            {
                SendClientMessage(playerid, COLOR_GRAD2, "   Ne mozes da promjenis odjecu, lider si !");
                return 1;
            }
            if(IsAtClothShop(playerid))
            {
                if(PlayerInfo[playerid][pSex] == 1) { ChosenSkin[playerid] = 2; SetPlayerSkin(playerid, 2); PlayerInfo[playerid][pChar] = 2; }
                else if(PlayerInfo[playerid][pSex] == 2) { ChosenSkin[playerid] = 55; SetPlayerSkin(playerid, 55); PlayerInfo[playerid][pChar] = 55; }
                else { return 1; }
                GetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
ChangePos2[playerid][0] = GetPlayerInterior(playerid);
ChangePos2[playerid][1] = 1;
SetPlayerInterior(playerid,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]);
SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
SelectChar[playerid] = 255;
if(PlayerInfo[playerid][pSex] == 1) { SelectCharID[playerid] = 20; }
else if(PlayerInfo[playerid][pSex] == 2) { SelectCharID[playerid] = 30; }
else { return 1; }
SelectCharPlace[playerid] = 1;
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
SendClientMessage(playerid, COLOR_LIGHTRED, "* Ukucajte 'next' da vidite sljedecu odjecu.");
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Ako ste nasli odgovarajucu odjecu,ukucajte 'done'.");
            }
        }
    }
    return 1;

Neke slike/video za lakse dobivanje pomoci(neobavezno)://


Eto ti :D

if(strcmp(cmd, "/odjeca", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pMember] >= 1)
        {
            if(IsAtClothShop(playerid))
{
    if(PlayerInfo[playerid][pMember] == 1) { ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); }
else if(PlayerInfo[playerid][pMember] == 2) { ChosenSkin[playerid] = 286; SetPlayerSkin(playerid, 286); }
else if(PlayerInfo[playerid][pMember] == 3) { ChosenSkin[playerid] = 287; SetPlayerSkin(playerid, 287); }
else if(PlayerInfo[playerid][pMember] == 4) { ChosenSkin[playerid] = 70; SetPlayerSkin(playerid, 70); }
else if(PlayerInfo[playerid][pMember] == 5) { ChosenSkin[playerid] = 117; SetPlayerSkin(playerid, 117); }
else if(PlayerInfo[playerid][pMember] == 8) { ChosenSkin[playerid] = 249; SetPlayerSkin(playerid, 249); }
else if(PlayerInfo[playerid][pMember] == 9) { ChosenSkin[playerid] = 148; SetPlayerSkin(playerid, 148); }
else if(PlayerInfo[playerid][pMember] == 10) { ChosenSkin[playerid] = 255; SetPlayerSkin(playerid, 255); }
else if(PlayerInfo[playerid][pMember] == 16) { ChosenSkin[playerid] = 144; SetPlayerSkin(playerid, 144); }
else { return 1; }
GetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
ChangePos2[playerid][0] = GetPlayerInterior(playerid);
ChangePos2[playerid][1] = 1;
    SetPlayerInterior(playerid,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]);
SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
SelectChar[playerid] = 255;
SelectCharID[playerid] = PlayerInfo[playerid][pMember];
SelectCharPlace[playerid] = 1;
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
    PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Koristitete 'next' da bi ste izabrali odjecu koja vam se svidja.");
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Ako nadjete odgovarajucu odjecu koja vam se svidja, ukucajte 'done'.");
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "   Niste u prodavnici odjece !");
return 1;
}
        }
        else
        {
           
                if(PlayerInfo[playerid][pSex] == 1) { ChosenSkin[playerid] = 2; SetPlayerSkin(playerid, 2); PlayerInfo[playerid][pChar] = 2; }
                else if(PlayerInfo[playerid][pSex] == 2) { ChosenSkin[playerid] = 55; SetPlayerSkin(playerid, 55); PlayerInfo[playerid][pChar] = 55; }
                else { return 1; }
                GetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
ChangePos2[playerid][0] = GetPlayerInterior(playerid);
ChangePos2[playerid][1] = 1;
SetPlayerInterior(playerid,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(playerid, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, gInviteSpawns[rand][3]);
SetPlayerCameraPos(playerid,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(playerid,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
SelectChar[playerid] = 255;
if(PlayerInfo[playerid][pSex] == 1) { SelectCharID[playerid] = 20; }
else if(PlayerInfo[playerid][pSex] == 2) { SelectCharID[playerid] = 30; }
else { return 1; }
SelectCharPlace[playerid] = 1;
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
SendClientMessage(playerid, COLOR_LIGHTRED, "* Ukucajte 'next' da vidite sljedecu odjecu.");
    SendClientMessage(playerid, COLOR_LIGHTRED, "* Ako ste nasli odgovarajucu odjecu,ukucajte 'done'.");
            }
        }
    }
    return 1;
Since 19.6.2011 - P!xel
                                  

- Skripter
- Maper
- Web Developer


A šta će ti da lider može mijenjati odjeću??


Pa može šta fali,ako hoće da bude lider neka bude u istoj odjeći ne smeta mu,ako si riješio problem reci da lockaju temu...

Citat: Dane poslato Jul 17, 2011, 17:16:51 POSLE PODNE
Pa može šta fali,ako hoće da bude lider neka bude u istoj odjeći ne smeta mu,ako si riješio problem reci da lockaju temu...
OFF-Topic: Ja cu lockad kad ja mislim da treba i kad onaj koji je napravio temu kaze da moze da se locka...


ON-Topic: Dobio si gore neki odgovor reci da li radi ili ne?

Citat: _Stranger poslato Jul 17, 2011, 20:56:30 POSLE PODNE
Citat: Dane poslato Jul 17, 2011, 17:16:51 POSLE PODNE
Pa može šta fali,ako hoće da bude lider neka bude u istoj odjeći ne smeta mu,ako si riješio problem reci da lockaju temu...
OFF-Topic: Ja cu lockad kad ja mislim da treba i kad onaj koji je napravio temu kaze da moze da se locka...


ON-Topic: Dobio si gore neki odgovor reci da li radi ili ne?
nisam ni testo jer cu viditi kasnije a on je rekao da mozda valja

Citat: Miris Old Spice poslato Jul 17, 2011, 20:58:29 POSLE PODNE
Citat: _Stranger poslato Jul 17, 2011, 20:56:30 POSLE PODNE
Citat: Dane poslato Jul 17, 2011, 17:16:51 POSLE PODNE
Pa može šta fali,ako hoće da bude lider neka bude u istoj odjeći ne smeta mu,ako si riješio problem reci da lockaju temu...
OFF-Topic: Ja cu lockad kad ja mislim da treba i kad onaj koji je napravio temu kaze da moze da se locka...


ON-Topic: Dobio si gore neki odgovor reci da li radi ili ne?
nisam ni testo jer cu viditi kasnije a on je rekao da mozda valja
Valja 100%
Since 19.6.2011 - P!xel
                                  

- Skripter
- Maper
- Web Developer