[POMOC]26 errora

Započeo Matrix_Green, Decembar 11, 2011, 20:26:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta NOxius
Problem nezz zasto al izbacuje mi errore: [quote]C:\Documents and Settings\Sandman\Desktop\Balkan Nations\pawno\include\G_ObjectsRot.inc(91) : error 004: function "OnObjectRotated" is not implemented
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4531) : error 017: undefined symbol "SaveBusiness"
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4534) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4536) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4556) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4558) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4846) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4867) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4870) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4874) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4879) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4882) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4890) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4890) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4893) : error 017: undefined symbol "ispassenger"
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4898) : error 017: undefined symbol "vehicleid"
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4921) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4927) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4930) : warning 225: unreachable code
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4930) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4930) : error 004: function "IsAnInstructor" is not implemented
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4938) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4942) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4945) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4948) : warning 225: unreachable code
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4948) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4948) : error 004: function "IsAMember" is not implemented
C:\Documents and Settings\Sandman\Desktop\Balkan Nations\gamemodes\GGRP.pwn(4956) : error 079: inconsistent return types (array & non-array)[/quote]


dio skripte
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{


if(IsKeyJustDown(KEY_CROUCH, newkeys, oldkeys))
{
if(OdjecaID[playerid] == 1)
{
   if(Businesses[PlayerInfo[playerid][pInBusiness]][bSupplies] >= 1)
{
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
    PlayerInfo[playerid][pChar] = ChosenSkin[playerid];
MedicBill[playerid] = 0;
OdjecaID[playerid] = 0;
SetPlayerPos(playerid, Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorX], Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorY], Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorZ]);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid, 1);
TextDrawHideForPlayer(playerid, Lijevat);
TextDrawHideForPlayer(playerid, TipkaC);
TextDrawHideForPlayer(playerid, CijenCloth[playerid]);TextDrawHideForPlayer(playerid, CijenCloth1[playerid]);
TextDrawDestroy(CijenCloth[playerid]);TextDrawDestroy(CijenCloth1[playerid]);
TextDrawHideForPlayer(playerid, nesvida);
SetPlayerInterior( playerid, Businesses[PlayerInfo[playerid][pInBusiness]][bInteriorID]);
    SelectCharPlace[playerid] = 0;
SCM(playerid, WHITE, "Hvala na kupnji! Vratite nam se uskoro!");SetPlayerVirtualWorld(playerid, 0);
    SelectCharID[playerid] = 0;
if(GetPVarInt(playerid, "DonatorRank") == 1)
{
        GivePlayerCash(playerid,  -Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1]/10);
}
else if(GetPVarInt(playerid, "DonatorRank") == 2)
{
        GivePlayerCash(playerid,  -Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1]/20);
}
else if(GetPVarInt(playerid, "DonatorRank") == 3)
{
        GivePlayerCash(playerid,  -Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1]/30);
}
else {GivePlayerCash(playerid,  -Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1]);}
Businesses[PlayerInfo[playerid][pInBusiness]][bSupplies]--;
//GivePlayerCash(playerid, -Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1])
Businesses[PlayerInfo[playerid][pInBusiness]][bVault] += Businesses[PlayerInfo[playerid][pInBusiness]][bProductPrice1];
SaveBusiness(PlayerInfo[playerid][pInBusiness]);
OdjecaID[playerid] = 0;
    SelectChar[playerid] = 0;
return 1;
}
else return SCM(playerid, WHITE, " * Zao nam je nemamo vise robe!");
}
else 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]; }
    }
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: //NGR
{
     if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, NGRSkinovi[0][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = NGRSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, NGRSkinovi[1][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = NGRSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, NGRSkinovi[2][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = NGRSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, NGRSkinovi[3][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = NGRSkinovi[3][0]; }
}
case 5: //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] = 1; ChosenSkin[playerid] = LCNSkinovi[5][0]; }
}
case 6: //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] = 1; ChosenSkin[playerid] = YSkinovi[5][0]; }
}
case 7: //Yakuza
{
   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] == 5) { SetPlayerSkin(playerid, GSFSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = GSFSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, GSFSkinovi[5][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = GSFSkinovi[5][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] = 1; ChosenSkin[playerid] = HitmanSkinovi[3][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] = 1; ChosenSkin[playerid] = CNNSkinovi[3][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]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, TaxiSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = TaxiSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, TaxiSkinovi[5][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = TaxiSkinovi[5][0]; }
}
case 11: //Taxi Cab Company
{
   if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, SKSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = SKSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, SKSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = SKSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, SKSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = SKSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, SKSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = SKSkinovi[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, SKSkinovi[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = SKSkinovi[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, SKSkinovi[5][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = SKSkinovi[5][0]; }
}
case 12: // Ms13
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, MS13Skinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = MS13Skinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, MS13Skinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = MS13Skinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, MS13Skinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = MS13Skinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, MS13Skinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = MS13Skinovi[3][0]; }
}
case 13: // Esl
    {
        if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ESLSkinovi[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ESLSkinovi[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ESLSkinovi[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ESLSkinovi[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ESLSkinovi[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ESLSkinovi[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ESLSkinovi[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ESLSkinovi[3][0]; }
}
}
}
}
if(IsKeyJustDown(KEY_FIRE, newkeys, oldkeys))
{

if(Businesses[PlayerInfo[playerid][pInBusiness]][bInter] == 1)
{
if(PlayerInfo[playerid][pSex] == 1)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopMale[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopMale[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopMale[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopMale[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopMale[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopMale[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopMale[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopMale[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopMale[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopMale[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopMale[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopMale[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopMale[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopMale[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopMale[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopMale[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopMale[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopMale[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopMale[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopMale[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopMale[10][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = ClothesShopMale[10][0]; }
else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, ClothesShopMale[11][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = ClothesShopMale[11][0]; }
else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, ClothesShopMale[12][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = ClothesShopMale[12][0]; }
else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, ClothesShopMale[13][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = ClothesShopMale[13][0]; }
else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, ClothesShopMale[14][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopMale[14][0]; }
}
if(PlayerInfo[playerid][pSex] == 2)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopFemale[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopFemale[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopFemale[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopFemale[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopFemale[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopFemale[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopFemale[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopFemale[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopFemale[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopFemale[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopFemale[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopFemale[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopFemale[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopFemale[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopFemale[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopFemale[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopFemale[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopFemale[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopFemale[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopFemale[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopFemale[10][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = ClothesShopFemale[10][0]; }
else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, ClothesShopFemale[11][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = ClothesShopFemale[11][0]; }
else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, ClothesShopFemale[12][0]); SelectCharPlace[playerid] = 14; ChosenSkin[playerid] = ClothesShopFemale[12][0]; }
else if(SelectCharPlace[playerid] == 14) { SetPlayerSkin(playerid, ClothesShopFemale[13][0]); SelectCharPlace[playerid] = 15; ChosenSkin[playerid] = ClothesShopFemale[13][0]; }
else if(SelectCharPlace[playerid] == 15) { SetPlayerSkin(playerid, ClothesShopFemale[14][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopFemale[14][0]; }
}
    }
if(Businesses[PlayerInfo[playerid][pInBusiness]][bInter] == 2)
{
if(PlayerInfo[playerid][pSex] == 1)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopMale2[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopMale2[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopMale2[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopMale2[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopMale2[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopMale2[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopMale2[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopMale2[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopMale2[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopMale2[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopMale2[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopMale2[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopMale2[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopMale2[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopMale2[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopMale2[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopMale2[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopMale2[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopMale2[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopMale2[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopMale2[10][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopMale2[10][0]; }

}
if(PlayerInfo[playerid][pSex] == 2)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopFemale2[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopFemale2[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopFemale2[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopFemale2[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopFemale2[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopFemale2[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopFemale2[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopFemale2[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopFemale2[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopFemale2[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopFemale2[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopFemale2[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopFemale2[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopFemale2[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopFemale2[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopFemale2[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopFemale2[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopFemale2[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopFemale2[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopFemale2[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopFemale2[10][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = ClothesShopFemale2[10][0]; }
else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, ClothesShopFemale2[11][0]); SelectCharPlace[playerid] = 13; ChosenSkin[playerid] = ClothesShopFemale2[11][0]; }
else if(SelectCharPlace[playerid] == 13) { SetPlayerSkin(playerid, ClothesShopFemale2[12][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopFemale2[12][0]; }
}
    }
if(Businesses[PlayerInfo[playerid][pInBusiness]][bInter] == 3)
{
if(PlayerInfo[playerid][pSex] == 1)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopMale3[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopMale3[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopMale3[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopMale3[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopMale3[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopMale3[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopMale3[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopMale3[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopMale3[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopMale3[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopMale3[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopMale3[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopMale3[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopMale3[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopMale3[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopMale3[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopMale3[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopMale3[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopMale3[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopMale3[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopMale3[10][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopMale3[10][0]; }
}
if(PlayerInfo[playerid][pSex] == 2)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopFemale3[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopFemale3[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopFemale3[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopFemale3[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopFemale3[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopFemale3[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopFemale3[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopFemale3[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopFemale3[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopFemale3[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopFemale3[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopFemale3[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopFemale3[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopFemale3[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopFemale3[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopFemale3[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopFemale3[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopFemale3[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopFemale3[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopFemale3[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopFemale3[10][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = ClothesShopFemale3[10][0]; }
else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, ClothesShopFemale3[11][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopFemale3[11][0]; }

}
    }
if(Businesses[PlayerInfo[playerid][pInBusiness]][bInter] == 4)
{
if(PlayerInfo[playerid][pSex] == 1)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopMale4[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopMale4[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopMale4[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopMale4[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopMale4[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopMale4[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopMale4[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopMale4[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopMale4[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopMale4[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopMale4[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopMale4[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopMale4[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopMale4[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopMale4[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopMale4[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopMale4[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopMale4[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopMale4[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopMale4[9][0]; }

}
if(PlayerInfo[playerid][pSex] == 2)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopFemale4[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopFemale4[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopFemale4[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopFemale4[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopFemale4[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopFemale4[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopFemale4[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopFemale4[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopFemale4[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopFemale4[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopFemale4[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopFemale4[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopFemale4[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopFemale4[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopFemale4[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopFemale4[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopFemale4[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopFemale4[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopFemale4[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopFemale4[9][0]; }

}
    }
if(Businesses[PlayerInfo[playerid][pInBusiness]][bInter] == 5)
{
if(PlayerInfo[playerid][pSex] == 1)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopMale5[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopMale5[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopMale5[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopMale5[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopMale5[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopMale5[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopMale5[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopMale5[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopMale5[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopMale5[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopMale5[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopMale5[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopMale5[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopMale5[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopMale5[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopMale5[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopMale5[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopMale5[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopMale5[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopMale5[9][0]; }

}
if(PlayerInfo[playerid][pSex] == 2)
{
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, ClothesShopFemale5[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = ClothesShopFemale5[0][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, ClothesShopFemale5[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = ClothesShopFemale5[1][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, ClothesShopFemale5[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = ClothesShopFemale5[2][0]; }
    else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, ClothesShopFemale5[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = ClothesShopFemale5[3][0]; }
    else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, ClothesShopFemale5[4][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = ClothesShopFemale5[4][0]; }
    else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, ClothesShopFemale5[5][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = ClothesShopFemale5[5][0]; }
    else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, ClothesShopFemale5[6][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = ClothesShopFemale5[6][0]; }
    else if(SelectCharPlace[playerid] == 8) { SetPlayerSkin(playerid, ClothesShopFemale5[7][0]); SelectCharPlace[playerid] = 9; ChosenSkin[playerid] = ClothesShopFemale5[7][0]; }
    else if(SelectCharPlace[playerid] == 9) { SetPlayerSkin(playerid, ClothesShopFemale5[8][0]); SelectCharPlace[playerid] = 10; ChosenSkin[playerid] = ClothesShopFemale5[8][0]; }
    else if(SelectCharPlace[playerid] == 10) { SetPlayerSkin(playerid, ClothesShopFemale5[9][0]); SelectCharPlace[playerid] = 11; ChosenSkin[playerid] = ClothesShopFemale5[9][0]; }
    else if(SelectCharPlace[playerid] == 11) { SetPlayerSkin(playerid, ClothesShopFemale5[10][0]); SelectCharPlace[playerid] = 12; ChosenSkin[playerid] = ClothesShopFemale5[10][0]; }
else if(SelectCharPlace[playerid] == 12) { SetPlayerSkin(playerid, ClothesShopFemale5[11][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = ClothesShopFemale5[11][0]; }

}
    }
return 1;
}
if(newkeys == 16) // Is the 'key value' of the enter vehicle control.new Float:x,Float:y,Float:z; Scroll down for more information about this '&'
  {
if(OdjecaID[playerid] == 1)
{
SCM(playerid, WHITE, "Vratite se kada se odlucite sta zelite kupiti!");
SetPlayerPos(playerid, Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorX], Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorY], Businesses[PlayerInfo[playerid][pInBusiness] ][bInteriorZ]);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid, 1);
TextDrawHideForPlayer(playerid, Lijevat);SetPlayerVirtualWorld(playerid, 0);
TextDrawHideForPlayer(playerid, TipkaC);
TextDrawHideForPlayer(playerid, CijenCloth[playerid]);TextDrawDestroy(CijenCloth[playerid]);TextDrawHideForPlayer(playerid, CijenCloth1[playerid]);TextDrawDestroy(CijenCloth1[playerid]);
TextDrawHideForPlayer(playerid, nesvida);
SetPlayerInterior( playerid, Businesses[PlayerInfo[playerid][pInBusiness]][bInteriorID]);
OdjecaID[playerid] = 0;
SetPlayerSkin(playerid, PlayerInfo[playerid][pStariskin]);
PlayerInfo[playerid][pModel] = PlayerInfo[playerid][pStariskin];
    PlayerInfo[playerid][pChar] = PlayerInfo[playerid][pStariskin];


return 1;
}
  new Float:x,Float:y,Float:z;
    if(IsPlayerInAnyVehicle(playerid) && IsVehicleRCVehicle(GetPlayerVehicleID(playerid)))// Checks if the player is in a vehicle and, if so, if the vehicle is a RC vehicle.
    {
      GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
      SetPlayerPos(playerid,x,y,z);
      return 1; // OnPlayerKeyStateChange won't be executed any further.
    }
    for(new v; v < MAX_VEHICLES; v++) // Loop through all vehicles
    {
      GetVehiclePos(v,x,y,z);
      if(IsPlayerInRangeOfPoint(playerid,RC_ENTER_RANGE,x,y,z) && IsVehicleRCVehicle(v)) //Check if the player is near a RC vehicle.
      {
        PutPlayerInVehicle(playerid,v,0); // Put the player in the RC vehicle
        return 1; // OnPlayerKeyStateChange won't be executed any further.
      }
    }
  }


//------------------------------------------------------------------------------------------------------

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new sendername[MAX_PLAYER_NAME], string[128];
if(ispassenger == 0){
for(new i;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
  if(IsPlayerInVehicle(i,vehicleid))
  {
  if(GetPlayerVehicleSeat(i) == 0)
  {
//new Float:slx, Float:sly, Float:slz;
  //SetPlayerHealth(playerid,0.0);
ClearAnimations(playerid);
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
ClearAnimations(playerid);ClearAnimations(playerid);ClearAnimations(playerid);
  SendClientMessage(playerid, COLOR_RED, "{FFFF11}BRG| {FF0000}Ne mozes krasti drugim igracima vozilo!");
  }
  if(GetPlayerVehicleID(playerid) == Carlist[i][Carid])
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(strcmp(sendername, Carlist[i][Vlasnik], true) == 0)
{
}
else{ ClearAnimations(playerid);
format(string, sizeof(string), "{FFFF11}BRG| {0080FF}Ovo nije tvoje vozilo! {FF0000}Vlasnik: %s", Carlist[i][Vlasnik]);
}
}
  return 1;
  }
}
}
}

  return 1;
}

public IsAnInstructor(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==11)
{
    return 1;
}
if(leader==11)
{
    return 1;
}
}
return 0;
}

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==5 || member==6 || member==8 || member == 12 || member == 13)
{
    return 1;
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
   new leader = PlayerInfo[playerid][pLeader];
   new member = PlayerInfo[playerid][pMember];
   if(member==5 || member==6 || member==8 || member == 12 || member == 13)
}
   return 1;
}


Mislim da je do toga..tako stavi kako sam ti ja stavio
Poslednja Izmena: Decembar 11, 2011, 22:12:37 POSLE PODNE od [X-3]Talavander
Kada muškarac priča ženi bezobrazne stvari, to je seksualno uznemiravanje…
A kada žena to radi muškarcu to je 2 eura+PDV po minuti. :D

fali ti negdje

}

ubaci ovo na kraju, bar mislim do toga jer izbacuje 26 errora kad to izostavis ..



sandman12wolf obrisi neku poruku iz chata jer mi trebas da se nesto dogovorimo :)


Village's Roleplay USKORO...

Village's Roleplay USKORO...