Change clothes
#1

Hey.. i'm using GF script.. and..
When player using /changeclothes in his HQ he get to screen with the faction skins and he can write 'next' to next one or 'done' anyway.. for some reason..
it jump to the first skin of the next faction and the first skin of the faction is gone..
anyway..

pawn Код:
case 5: //Mafia SKINS
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[25][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[25][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[26][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[26][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[27][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[27][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[28][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[28][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[29][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[29][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[30][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[30][0]; }
                }
                case 6: //Triads SKINS
                {
                    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[32][0]; }
                    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[33][0]; }
                    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[34][0]; }
                    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[35][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[35][0]; }
                    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[36][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[36][0]; }
                    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[37][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[37][0]; }
                }
I hope I explained it well.. and someone will give me a good idea how to fix it
Reply
#2

Actually, no.. you didnt explain it well. Please re-explain it, and then i will attempt to help you.
Reply
#3

Okay.. as you see Joinped 25 is the first and 30 is last.. so when you get to 30 so it jump to 31 and 25 is gone.. then it keep goes like: 26,27,28,29,30,31 and that's it..

now better?
Reply
#4

Ahh.. Yes. And i see why.. do you have Skype or MSN?

My skype is josh.beverly
MSN is beverlyj93@hotmail.com
Reply
#5

... Cant you just help here?

anyway... anyone? I really need it fast.. thanks
Reply
#6

Try using a dialog
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)