[POMOC] Problem sa komandom

Započeo Koncho, Oktobar 21, 2012, 14:10:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:SE_RP Edit GTA-RP
Detaljan opis problema:Ovako radi se o Clothesu odnosno kada odem u Binco Clothes ili ZIP kada  hoću da izaberem odjeću trebam upisati "done" no problem je taj Å¡to kada stisnem done umrem(odnosno odem u bolnicu) pa me zanima kako da napravim da kada igrač stisne done da ga vrati na poziciju ispred ulaza ali ako kupuje u ZIP-u da ga vrati ispred ulaza na ZIP ako kupi i Binco da ga vrati ispred ulaza..
Dio skripte:
else if ((strcmp("done", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("done")))
{
    if(ChangePos2[playerid][1] == 1)
    {
        SetPlayerInterior(playerid, ChangePos2[playerid][0]);
        SetPlayerPos(playerid, ChangePos[playerid][0],ChangePos[playerid][1],ChangePos[playerid][2]);
        ChangePos2[playerid][1] = 0;
        //return 0;
    }
    MedicBill[playerid] = 0;
    PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
    PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
    SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel],0.0,0.0,0.0,0,0,0,0,0,0,0);
    gTeam[playerid] = PlayerInfo[playerid][pTeam];
SetPlayerToTeamColor(playerid);
MedicBill[playerid] = 0;
SpawnPlayer(playerid);
MedicBill[playerid] = 0;
    SelectCharPlace[playerid] = 0;
    SelectCharID[playerid] = 0;
    SelectChar[playerid] = 0;
    SetPlayerVirtualWorld(playerid,0);
    SetTimerEx("backtoclothes", 1000, false, "i", playerid);
    MedicBill[playerid] = 0;
BizzInfo[3][bTill] += 100;
ExtortionBiz(3, 100);
            BizzInfo[4][bTill] += 100;
ExtortionBiz(4, 100);
            BizzInfo[16][bTill] += 100;
ExtortionBiz(16, 100);
            BizzInfo[17][bTill] += 100;
ExtortionBiz(17, 100);

return 0;
}
else
{
    SendClientMessage(playerid, COLOR_WHITE, "{F81414}(GRESKA) {FFAF00}Kucaj u chatu ( {F81414}next {FFAF00}) da listas skinove ( {F81414}done {FFAF00}) da kupis skin.");
    return 0;
}
}

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