[pomoc] kako da promenim chat

Započeo Nemanja King, Jun 18, 2011, 01:12:14 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:BU
Detaljan opis problema:kako da promenim kada se pritisne T i napise nesto da mu napise u oc chatu Posto je meni u IC pa zelim da promenim da bude oc chat
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Kontakt
Skype nemanja.lazarevic.567
XFire kingsamp
Mystic World Community
Server Address 176.104.106.8 :5555

Citat: SyBeR poslato Jun 18, 2011, 01:12:14 PRE PODNE
Skripta koju koristim:BU
Detaljan opis problema:kako da promenim kada se pritisne T i napise nesto da mu napise u oc chatu Posto je meni u IC pa zelim da promenim da bude oc chat
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

ma neka taj neko kuca /b text

pa ce mu biti ooc :S
//

ocu da promenim zato sto imam problem sa ic chatom,kada nesto napise vidi ceo server a na /b chat-u(oc) kada napise vidi samo ko je pored tog igraca

Kontakt
Skype nemanja.lazarevic.567
XFire kingsamp
Mystic World Community
Server Address 176.104.106.8 :5555


public OnPlayerText(playerid, text[])
{
   new plname[MAX_PLAYER_NAME];
   GetPlayerName(playerid, plname, sizeof(plname));
    new zekan[150];
    format(zekan, sizeof(zekan), "%s(%d)"BIJELA" kaze: %s", plname, playerid, text[0]);
    ProxDetector(20.0, playerid, zekan,-1,-1,-1,-1,-1);
    SetPlayerChatBubble(playerid, text, -1, 100.0, 10000);
return 0;
}

evo ti public OnPlayerText pa ako mi mozes ti ubaciti

public OnPlayerText(playerid, text[])
{
new giver[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new tmp[256];
new string[256];
new giveplayerid;
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozete pricati, oduzeto vam je pravo govora");
return 0;
}

if(SelectChar[playerid] == 255)
{
    new idx;
    tmp = strtok(text, idx);
    if ((strcmp("next", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("next")))
{
    switch (SelectCharID[playerid])
{
case 1: //Police Force
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 0; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 1); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 1; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 2); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 2; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 3); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 3; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 4); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 4; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 5); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 5; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 6); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = 6; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, 7); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = 7; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, 8); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = 8; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, 9); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = 9; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, 10); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 10; }
}
case 2: //FBI/ATF
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 11); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 11; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 12); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 12; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 13); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 13; }
    }
case 3: //National Guard
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 14); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 14; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 15); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 15; }
}
case 4: //Fire&Ambulance
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[16][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 17); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 17; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 18); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 18; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 19); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 19; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 20); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 20; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 21); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = 21; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, 22); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 22; }
}
case 5: //Yakuza
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 25); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 25; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 26); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 26; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 27); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 27; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 28); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 28; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 29); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 29; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 30); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 30; }
}
/*case 6: //Luciano family
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[31][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[32][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[33][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[34][0]; }
}*/
case 8: //Hitman Agency
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 38); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 38; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 39); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 39; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 40); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 40; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 41); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 41; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 42); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 42; }
}
case 9: //News Reporters
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 43); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 43; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 44); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 44; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 45); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 45; }
}
case 10: //Taxi Cab Company
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 46); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 46; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 47); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 47; }
}
case 11: //Driving/Flying School
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 48; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 49); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 49; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 50); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 50; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 51); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 51; }
}


case 12: //MS13
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 108); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 108; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 109); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 109; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 110); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 110; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 114; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 116; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 174; }
}
/*case 14: //Yamaguchi
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 122); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 122; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 118); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 118; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 186); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 186; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 123); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 123; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 113); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 113; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 169); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 169; }
}
*/
case 15: //Syrenos
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 173); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 173; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 114); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 114; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 115); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 115; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 116); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 116; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 174); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 174; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 175; }
}
case 16: //Ballas
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 28); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 28; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 67); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 67; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 22); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 22; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 180); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 180; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 144); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 144; }
}
case 17://mexican mafia
{

if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 175); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 175; }
if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 176); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 176; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 177); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 177; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 102); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 102; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 103); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 103; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 185); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 185; }
}
case 18://la nuestra familia
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 16); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 16; }
}
case 19://groove
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, 293); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = 114; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, 105); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = 115; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, 106); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = 116; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, 107); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = 174; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, 269); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = 175; }
else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, 270); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = 270; }
}
case 20: //Male civilian (by Ellis)
{
    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 0;
}
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;
    return 0;
}

Kontakt
Skype nemanja.lazarevic.567
XFire kingsamp
Mystic World Community
Server Address 176.104.106.8 :5555