[Pomoc] Tuning Garaza

Započeo vιnnιe :), Jun 29, 2013, 13:32:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Croatia Sky RP
Detaljan opis problema: Pa kada odem tunirati bilo koje vozilo u tuning garazi i onda kad pretisnem enter ono kad biram spoiler pa da se vratim enter izadje ili kad sve tuniram pretisnem enter i izadje iz tuning garaze i iz auta izadje...+ auto propadne negdje.. ako moze pomoc kako da se to ne desava....
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Poslednja Izmena: Jun 29, 2013, 13:32:23 POSLE PODNE od DICTATOR


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.


Citat: David (Sabljak) A.k.A SABO(T) poslato Jun 29, 2013, 13:44:00 POSLE PODNE
msm da je to SAMP bug


Na drugim modovima nije tako.. Samo na Croatia Sky i CLRP modovima


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.



Citat: ciraHD poslato Jun 29, 2013, 13:54:46 POSLE PODNE
Pa ti uzmi Raven's pa edituj :P


Jeli ovo pomoc ili preporuka?


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.


public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
//    new string[128];
//    new sendername[MAX_PLAYER_NAME];
    new newcar = GetPlayerVehicleID(playerid);
    if(IsKeyJustDown(KEY_HANDBRAKE,newkeys,oldkeys)) {
        StopLoopingAnim(playerid);
        TextDrawHideForPlayer(playerid,txtAnimHelper);
        animation[playerid] = 0;
    }
    else if(newkeys == 16) {                      //KEY_SECONDARY_ATTACK
        if (GetPlayerState(playerid) == 1) CheckForWalkingTeleport(playerid);
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
            if(gEngine[playerid] == 0 && engineOn[newcar] == 0) {
                RemovePlayerFromVehicle(playerid);
                TogglePlayerControllable(playerid, 1);
                return 1;
            }
            else if(NoFuel[playerid] == 1) {
                TogglePlayerControllable(playerid, 1);
                RemovePlayerFromVehicle(playerid);
                NoFuel[playerid] = 0;
                return 1;
            }
        }
    }
    else if(newkeys == 16)
    {
        Statsoff(playerid);
        return 1;
}
else if(PlayerInfo[playerid][pStats2] == 1) {
            ShowStats2(playerid,playerid);
        }
    else if(PlayerInfo[playerid][pStats3] == 1) {
            ShowStats3(playerid,playerid);
        }
    else if(PlayerInfo[playerid][pStats4] == 1) {
            ShowStats4(playerid,playerid);
        }
    if(IsKeyJustDown(KEY_CROUCH, newkeys, oldkeys))
{
if(OdjecaID1[playerid] == 1)
{
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
    PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
MedicBill[playerid] = 0;
OdjecaID1[playerid] = 0;
SpawnPlayer(playerid);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid, 1);
    SelectCharPlace[playerid] = 0;
TextDrawHideForPlayer(playerid, Lijevat);
TextDrawHideForPlayer(playerid, TipkaC);
SCM(playerid, WHITE, "Odabrao si odjecu!");
SetPlayerVirtualWorld(playerid, 0);
    SelectCharID[playerid] = 0;
OdjecaID[playerid] = 0;
    SelectChar[playerid] = 0;
return 1;
}
return 1;
}
    if(IsKeyJustDown(KEY_FIRE, newkeys, oldkeys))
{
if(OdjecaID1[playerid] == 1)
{
switch (SelectCharID[playerid])
{
case 1: //Police Force
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, PDSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = PDSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, PDSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = PDSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, PDSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = PDSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, PDSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = PDSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, PDSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = PDSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, PDSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = PDSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, PDSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = PDSkinovi[6][0]; }
}
case 2: //FBI/ATF
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, FBISkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = FBISkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, FBISkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = FBISkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, FBISkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = FBISkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, FBISkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = FBISkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, FBISkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = FBISkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, FBISkinovi[5][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = FBISkinovi[5][0]; }
    }
case 3: //National Guard
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, SWATSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = SWATSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, SWATSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = SWATSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, SWATSkinovi[2][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = SWATSkinovi[2][0]; }
}
case 4: //Fire&Ambulance
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, MDSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = MDSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, MDSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = MDSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, MDSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = MDSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, MDSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = MDSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, MDSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = MDSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, MDSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = MDSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, MDSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = MDSkinovi[6][0]; }
}
case 5: //Yakuza
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, YSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = YSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, YSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = YSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, YSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = YSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, YSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = YSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, YSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = YSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, YSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = YSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, YSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = YSkinovi[6][0]; }
}
case 6: //La Cosa Nostra
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, LCNSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = LCNSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, LCNSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = LCNSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, LCNSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = LCNSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, LCNSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = LCNSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, LCNSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = LCNSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, LCNSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = LCNSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, LCNSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = LCNSkinovi[6][0]; }
}
case 7: //Hitman Agency
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, GrSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = GrSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, GrSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = GrSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, GrSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = GrSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, GrSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = GrSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, GrSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = GrSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, GrSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = GrSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, GrSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = GrSkinovi[6][0]; }
}
case 8: //Hitman Agency
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, HitmanSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = HitmanSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, HitmanSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = HitmanSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, HitmanSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = HitmanSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, HitmanSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = HitmanSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, HitmanSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = HitmanSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, HitmanSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = HitmanSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, HitmanSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = HitmanSkinovi[6][0]; }
}
case 9: //News Reporters
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CNNSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CNNSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CNNSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CNNSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CNNSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CNNSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CNNSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CNNSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CNNSkinovi[4][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CNNSkinovi[4][0]; }
}
case 10: //Taxi Cab Company
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, TaxiSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = TaxiSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, TaxiSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = TaxiSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, TaxiSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = TaxiSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, TaxiSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = TaxiSkinovi[3][0]; }
}
case 12: // nova banda
{
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, TSCSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = TSCSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, TSCSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = TSCSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, TSCSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = TSCSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, TSCSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = TSCSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, TSCSkinovi[4][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = TSCSkinovi[4][0]; }
}
case 13: // nova banda
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, LSurenosSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = LSurenosSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, LSurenosSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = LSurenosSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, LSurenosSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = LSurenosSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, LSurenosSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = LSurenosSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, LSurenosSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = LSurenosSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, LSurenosSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = LSurenosSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, LSurenosSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = LSurenosSkinovi[6][0]; }
}
case 14: // nova banda
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CRacerSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CRacerSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CRacerSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CRacerSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CRacerSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CRacerSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CRacerSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CRacerSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CRacerSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CRacerSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CRacerSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CRacerSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CRacerSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CRacerSkinovi[6][0]; }
}
case 15: // nova banda
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, GSFSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = GSFSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, GSFSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = GSFSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, GSFSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = GSFSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, GSFSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = GSFSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, GSFSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = GSFSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, GSFSkinovi[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = GSFSkinovi[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, GSFSkinovi[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = GSFSkinovi[6][0]; }
}
case 16: // NGR
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, NGRSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = NGRSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, NGRSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = NGRSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, NGRSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = NGRSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, NGRSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = NGRSkinovi[3][0]; }
}
case 17: // Armija
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ArmijaSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ArmijaSkinovi[0][0]; }
}
}
}
return 1;
}
if(IsKeyJustDown(KEY_FIRE, newkeys, oldkeys))
{
if(SelectChar[playerid] == 255)
{
switch (SelectCharID[playerid])
{
case 1:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[6][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[6][0]; }


}
case 2:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[7][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[7][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[8][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[8][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[9][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[9][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[10][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[10][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[11][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[11][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[12][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[12][0]; }
    }
case 3:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[13][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[13][0]; }
    if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[14][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[14][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[15][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[15][0]; }
}
case 4:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[17][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[17][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[18][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[18][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[19][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[19][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[20][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[20][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[21][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[21][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[22][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[22][0]; }
}
case 5:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[23][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[23][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[24][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[23][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[25][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[25][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[26][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[26][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[27][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[27][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[28][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[28][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[29][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[29][0]; }
}
case 6:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[30][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[30][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[31][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[32][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[33][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[34][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[35][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[35][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[36][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[36][0]; }
}
case 7:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[37][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[37][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[38][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[38][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[39][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[39][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[40][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[40][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[41][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[41][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[42][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[42][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[43][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[43][0]; }
}
case 8:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[44][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[44][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[45][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[45][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[46][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[46][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[47][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[48][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[49][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[50][0]; }
}
case 9:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[51][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[52][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[53][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[54][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[55][0]; }
}
case 10:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[56][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[57][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[57][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[58][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[59][0]; }
}
case 12:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[60][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[61][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[62][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[62][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[63][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[63][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[64][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[64][0]; }
}
case 13:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[65][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[65][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[66][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[66][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[67][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[67][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[68][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[68][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[69][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[69][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[70][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[70][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[71][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[71][0]; }
}
case 14:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[72][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[72][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[73][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[73][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[74][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[74][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[75][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[75][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[76][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[76][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[77][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[77][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[78][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[78][0]; }
}
case 15:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[79][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[79][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[80][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[80][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[81][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[81][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[82][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[82][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[83][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[83][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[84][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[84][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[85][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[85][0]; }
}
case 16:
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[86][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[86][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[87][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[87][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[88][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[88][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[89][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[89][0]; }
}
case 20: //maleped
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivMalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivMalePeds[1][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivMalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivMalePeds[2][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivMalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivMalePeds[3][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivMalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivMalePeds[4][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivMalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivMalePeds[5][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivMalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivMalePeds[6][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivMalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivMalePeds[7][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivMalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivMalePeds[8][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivMalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivMalePeds[9][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivMalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivMalePeds[10][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivMalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivMalePeds[11][0]; }
    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivMalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivMalePeds[12][0]; }
    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivMalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivMalePeds[13][0]; }
    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivMalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivMalePeds[14][0]; }
    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivMalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivMalePeds[15][0]; }
    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivMalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivMalePeds[16][0]; }
    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivMalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivMalePeds[17][0]; }
    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivMalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivMalePeds[18][0]; }
    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivMalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivMalePeds[19][0]; }
    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivMalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivMalePeds[20][0]; }
    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivMalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivMalePeds[21][0]; }
    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivMalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivMalePeds[22][0]; }
    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivMalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivMalePeds[23][0]; }
    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivMalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivMalePeds[24][0]; }
    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivMalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivMalePeds[25][0]; }
    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivMalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivMalePeds[26][0]; }
    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivMalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivMalePeds[27][0]; }
    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivMalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivMalePeds[28][0]; }
    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivMalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivMalePeds[29][0]; }
    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivMalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivMalePeds[30][0]; }
    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivMalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivMalePeds[31][0]; }
    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivMalePeds[32][0]); SelectCharPlace[playerid] = 33; ChosenSkin[playerid] = CivMalePeds[32][0]; }
    else if(SelectCharPlace[playerid] == 33) { SetPlayerSkin(playerid, CivMalePeds[33][0]); SelectCharPlace[playerid] = 34; ChosenSkin[playerid] = CivMalePeds[33][0]; }
    else if(SelectCharPlace[playerid] == 34) { SetPlayerSkin(playerid, CivMalePeds[34][0]); SelectCharPlace[playerid] = 35; ChosenSkin[playerid] = CivMalePeds[34][0]; }
    else if(SelectCharPlace[playerid] == 35) { SetPlayerSkin(playerid, CivMalePeds[35][0]); SelectCharPlace[playerid] = 36; ChosenSkin[playerid] = CivMalePeds[35][0]; }
    else if(SelectCharPlace[playerid] == 36) { SetPlayerSkin(playerid, CivMalePeds[36][0]); SelectCharPlace[playerid] = 37; ChosenSkin[playerid] = CivMalePeds[36][0]; }
    else if(SelectCharPlace[playerid] == 37) { SetPlayerSkin(playerid, CivMalePeds[37][0]); SelectCharPlace[playerid] = 38; ChosenSkin[playerid] = CivMalePeds[37][0]; }
    else if(SelectCharPlace[playerid] == 38) { SetPlayerSkin(playerid, CivMalePeds[38][0]); SelectCharPlace[playerid] = 39; ChosenSkin[playerid] = CivMalePeds[38][0]; }
    else if(SelectCharPlace[playerid] == 39) { SetPlayerSkin(playerid, CivMalePeds[39][0]); SelectCharPlace[playerid] = 40; ChosenSkin[playerid] = CivMalePeds[39][0]; }
    else if(SelectCharPlace[playerid] == 40) { SetPlayerSkin(playerid, CivMalePeds[40][0]); SelectCharPlace[playerid] = 41; ChosenSkin[playerid] = CivMalePeds[40][0]; }
    else if(SelectCharPlace[playerid] == 41) { SetPlayerSkin(playerid, CivMalePeds[41][0]); SelectCharPlace[playerid] = 42; ChosenSkin[playerid] = CivMalePeds[41][0]; }
    else if(SelectCharPlace[playerid] == 42) { SetPlayerSkin(playerid, CivMalePeds[42][0]); SelectCharPlace[playerid] = 43; ChosenSkin[playerid] = CivMalePeds[42][0]; }
    else if(SelectCharPlace[playerid] == 43) { SetPlayerSkin(playerid, CivMalePeds[43][0]); SelectCharPlace[playerid] = 44; ChosenSkin[playerid] = CivMalePeds[43][0]; }
    else if(SelectCharPlace[playerid] == 44) { SetPlayerSkin(playerid, CivMalePeds[44][0]); SelectCharPlace[playerid] = 45; ChosenSkin[playerid] = CivMalePeds[44][0]; }
    else if(SelectCharPlace[playerid] == 45) { SetPlayerSkin(playerid, CivMalePeds[45][0]); SelectCharPlace[playerid] = 46; ChosenSkin[playerid] = CivMalePeds[45][0]; }
    else if(SelectCharPlace[playerid] == 46) { SetPlayerSkin(playerid, CivMalePeds[46][0]); SelectCharPlace[playerid] = 47; ChosenSkin[playerid] = CivMalePeds[46][0]; }
    else if(SelectCharPlace[playerid] == 47) { SetPlayerSkin(playerid, CivMalePeds[47][0]); SelectCharPlace[playerid] = 48; ChosenSkin[playerid] = CivMalePeds[47][0]; }
    else if(SelectCharPlace[playerid] == 48) { SetPlayerSkin(playerid, CivMalePeds[48][0]); SelectCharPlace[playerid] = 49; ChosenSkin[playerid] = CivMalePeds[48][0]; }
    else if(SelectCharPlace[playerid] == 49) { SetPlayerSkin(playerid, CivMalePeds[49][0]); SelectCharPlace[playerid] = 50; ChosenSkin[playerid] = CivMalePeds[49][0]; }
    else if(SelectCharPlace[playerid] == 50) { SetPlayerSkin(playerid, CivMalePeds[50][0]); SelectCharPlace[playerid] = 51; ChosenSkin[playerid] = CivMalePeds[50][0]; }
    else if(SelectCharPlace[playerid] == 51) { SetPlayerSkin(playerid, CivMalePeds[51][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivMalePeds[51][0]; }
}
case 30: //Female civilian (by Ellis)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, CivFemalePeds[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = CivFemalePeds[1][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, CivFemalePeds[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = CivFemalePeds[2][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, CivFemalePeds[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = CivFemalePeds[3][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, CivFemalePeds[4][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = CivFemalePeds[4][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, CivFemalePeds[5][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = CivFemalePeds[5][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, CivFemalePeds[6][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = CivFemalePeds[6][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, CivFemalePeds[7][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = CivFemalePeds[7][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, CivFemalePeds[8][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = CivFemalePeds[8][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, CivFemalePeds[9][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = CivFemalePeds[9][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, CivFemalePeds[10][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = CivFemalePeds[10][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, CivFemalePeds[11][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = CivFemalePeds[11][0]; }
    else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, CivFemalePeds[12][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = CivFemalePeds[12][0]; }
    else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, CivFemalePeds[13][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = CivFemalePeds[13][0]; }
    else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, CivFemalePeds[14][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = CivFemalePeds[14][0]; }
    else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, CivFemalePeds[15][0]); SelectCharPlace[playerid] = 16; ChosenSkin[playerid] = CivFemalePeds[15][0]; }
    else if(SelectCharPlace[playerid] == 16) { SetPlayerSkin(playerid, CivFemalePeds[16][0]); SelectCharPlace[playerid] = 17; ChosenSkin[playerid] = CivFemalePeds[16][0]; }
    else if(SelectCharPlace[playerid] == 17) { SetPlayerSkin(playerid, CivFemalePeds[17][0]); SelectCharPlace[playerid] = 18; ChosenSkin[playerid] = CivFemalePeds[17][0]; }
    else if(SelectCharPlace[playerid] == 18) { SetPlayerSkin(playerid, CivFemalePeds[18][0]); SelectCharPlace[playerid] = 19; ChosenSkin[playerid] = CivFemalePeds[18][0]; }
    else if(SelectCharPlace[playerid] == 19) { SetPlayerSkin(playerid, CivFemalePeds[19][0]); SelectCharPlace[playerid] = 20; ChosenSkin[playerid] = CivFemalePeds[19][0]; }
    else if(SelectCharPlace[playerid] == 20) { SetPlayerSkin(playerid, CivFemalePeds[20][0]); SelectCharPlace[playerid] = 21; ChosenSkin[playerid] = CivFemalePeds[20][0]; }
    else if(SelectCharPlace[playerid] == 21) { SetPlayerSkin(playerid, CivFemalePeds[21][0]); SelectCharPlace[playerid] = 22; ChosenSkin[playerid] = CivFemalePeds[21][0]; }
    else if(SelectCharPlace[playerid] == 22) { SetPlayerSkin(playerid, CivFemalePeds[22][0]); SelectCharPlace[playerid] = 23; ChosenSkin[playerid] = CivFemalePeds[22][0]; }
    else if(SelectCharPlace[playerid] == 23) { SetPlayerSkin(playerid, CivFemalePeds[23][0]); SelectCharPlace[playerid] = 24; ChosenSkin[playerid] = CivFemalePeds[23][0]; }
    else if(SelectCharPlace[playerid] == 24) { SetPlayerSkin(playerid, CivFemalePeds[24][0]); SelectCharPlace[playerid] = 25; ChosenSkin[playerid] = CivFemalePeds[24][0]; }
    else if(SelectCharPlace[playerid] == 25) { SetPlayerSkin(playerid, CivFemalePeds[25][0]); SelectCharPlace[playerid] = 26; ChosenSkin[playerid] = CivFemalePeds[25][0]; }
    else if(SelectCharPlace[playerid] == 26) { SetPlayerSkin(playerid, CivFemalePeds[26][0]); SelectCharPlace[playerid] = 27; ChosenSkin[playerid] = CivFemalePeds[26][0]; }
    else if(SelectCharPlace[playerid] == 27) { SetPlayerSkin(playerid, CivFemalePeds[27][0]); SelectCharPlace[playerid] = 28; ChosenSkin[playerid] = CivFemalePeds[27][0]; }
    else if(SelectCharPlace[playerid] == 28) { SetPlayerSkin(playerid, CivFemalePeds[28][0]); SelectCharPlace[playerid] = 29; ChosenSkin[playerid] = CivFemalePeds[28][0]; }
    else if(SelectCharPlace[playerid] == 29) { SetPlayerSkin(playerid, CivFemalePeds[29][0]); SelectCharPlace[playerid] = 30; ChosenSkin[playerid] = CivFemalePeds[29][0]; }
    else if(SelectCharPlace[playerid] == 30) { SetPlayerSkin(playerid, CivFemalePeds[30][0]); SelectCharPlace[playerid] = 31; ChosenSkin[playerid] = CivFemalePeds[30][0]; }
    else if(SelectCharPlace[playerid] == 31) { SetPlayerSkin(playerid, CivFemalePeds[31][0]); SelectCharPlace[playerid] = 32; ChosenSkin[playerid] = CivFemalePeds[31][0]; }
    else if(SelectCharPlace[playerid] == 32) { SetPlayerSkin(playerid, CivFemalePeds[32][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = CivFemalePeds[32][0]; }
}
}
}
return 1;
}
if(IsKeyJustDown(KEY_CROUCH, newkeys, oldkeys))
{
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;
    TextDrawHideForPlayer(playerid, Lijevat);
TextDrawHideForPlayer(playerid, TipkaC);
return 1;
}
if(PRESSED(KEY_ACTION))
{
    if (IsPlayerInAnyVehicle(playerid))
    {
        if (VehicleLightsOn[GetPlayerVehicleID(playerid)] == false)
        {
                GetVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, doors, lights, tires);
        UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, doors, encode_lights(0, 0, 0, 0), tires);
                VehicleLightsOn[GetPlayerVehicleID(playerid)] = true;
        }
        else
        {
    GetVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, doors, lights, tires);
        UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, doors, encode_lights(1, 1, 1, 1), tires);
    VehicleLightsOn[GetPlayerVehicleID(playerid)] = false;
}
}
}
    return 1;
}


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.


Citat: David (Sabljak) A.k.A SABO(T) poslato Jun 29, 2013, 16:29:20 POSLE PODNE
RemovePlayerFromVehicle(playerid);

ocito da ovo radi problem


Proveriti cu... ako ne radi opet javim ti..


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.


Cek ima na vise mjesta Remove, koji cu obrisat? das mi neki dio :P


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.


Bump
Poslednja Izmena: Jun 29, 2013, 18:38:19 POSLE PODNE od DICTATOR


VINNIE WALKER [16] ● VITTIME DELLA MAFIA ● OUTSIDER[1]



VITTIME DELLA MAFIA MEMBER SINCE 26.7.2013.
LOS BALKAN MEMBER SINCE 1.02 2013.