forward IsAtClothShop(playerid);public IsAtClothShop(playerid){ if(IsPlayerConnected(playerid)){ if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)){//Binco & Suburban return 1;}else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047)){//Zip & Victim return 1;}}return 0;}
new Ferfiskinek[105][1] = {{1}, //1{14},{15},{16},{18},{19}, //5{21},{22},{23},{24},{26},{27},{28}, //7{32},{34},{35},{36},{37}, //5{43},{44},{45},{48},{49}, //5{51},{52},{58}, //3{60},{62},{66},{67},{68}, //5{72},{78},{79}, //5{80},{81},{82},{83},{84}, //5{94},{95},{96},{97}, //4{100},{101},//1{128},//2{132},{133},{134},{135},{136},{137}, //6{143},{144},{146}, //3{153},{154},{155},{156},{158},{159}, //6{160},{162},{167},{168}, //4{170},{176},{179}, //3{180},{181},{182},{183},{186}, //5{200},{202},{203},{204},{206},{209}, //6{212},{213}, //2{220},{221},{227}, //3{230},{234},{235},{236},{239}, //5{247},{248},{249}, //3{250},{252},{254},{258},{259}, //5{260},{261},{263},{264},{268}, //4{290},{291},{297} //3};new NoiSkinek[64][1] = {{10},{12}, //2{31},{38},{39}, //3{40},{41}, //2{53},{54},{55},{56}, //4{63},{64}, //2{75},{76},{77}, //3{87},{88},{89}, //3{90},{92}, //2{129}, //1{130},{131},{138},{139}, //4{140},{145}, //2{151},{152},{157}, //3{169}, //1{178}, //1{190},{192},{194},{196},{197},{198},{199}, //7{201},{205},{207}, //3{211},{214},{215},{218},{219}, //5{224},{225},{226}, //3{231},{232},{237},{238}, //4{243},{244},{245},{246}, //4{251},{256},{257}, //3{263}, //1{298} //1};
if(strcmp(cmd, \"/ruha\", true) == 0){ if(IsPlayerConnected(playerid)) { if(IsAtClothShop(playerid)) { if(params < 1 || !IsNumeric(param[1])) return Msg(playerid, \"Használata: /ruha [skin ID]\"); if(GetMoney(playerid) < 1500) return Msg(playerid, \"Egy ruha ára 1.500Ft!\"); new skin = strval(param[1]); new talalt = NINCS, bool:talalt_nem = false; for(new x = 0; x < sizeof(Peds); x++) { if(Peds
Akkor tessék itt van egy /clothes!Modból szedtem ki nem én írtam tesztelve nem volt!De ha jó akkor mehet a +!Ruha Boltok: forward IsAtClothShop(playerid);public IsAtClothShop(playerid){ if(IsPlayerConnected(playerid)){ if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)){//Binco & Suburban return 1;}else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047)){//Zip & Victim return 1;}}return 0;} Skinek Férfi/Nõi! new Ferfiskinek[105][1] = {{1}, //1{14},{15},{16},{18},{19}, //5{21},{22},{23},{24},{26},{27},{28}, //7{32},{34},{35},{36},{37}, //5{43},{44},{45},{48},{49}, //5{51},{52},{58}, //3{60},{62},{66},{67},{68}, //5{72},{78},{79}, //5{80},{81},{82},{83},{84}, //5{94},{95},{96},{97}, //4{100},{101},//1{128},//2{132},{133},{134},{135},{136},{137}, //6{143},{144},{146}, //3{153},{154},{155},{156},{158},{159}, //6{160},{162},{167},{168}, //4{170},{176},{179}, //3{180},{181},{182},{183},{186}, //5{200},{202},{203},{204},{206},{209}, //6{212},{213}, //2{220},{221},{227}, //3{230},{234},{235},{236},{239}, //5{247},{248},{249}, //3{250},{252},{254},{258},{259}, //5{260},{261},{263},{264},{268}, //4{290},{291},{297} //3};new NoiSkinek[64][1] = {{10},{12}, //2{31},{38},{39}, //3{40},{41}, //2{53},{54},{55},{56}, //4{63},{64}, //2{75},{76},{77}, //3{87},{88},{89}, //3{90},{92}, //2{129}, //1{130},{131},{138},{139}, //4{140},{145}, //2{151},{152},{157}, //3{169}, //1{178}, //1{190},{192},{194},{196},{197},{198},{199}, //7{201},{205},{207}, //3{211},{214},{215},{218},{219}, //5{224},{225},{226}, //3{231},{232},{237},{238}, //4{243},{244},{245},{246}, //4{251},{256},{257}, //3{263}, //1{298} //1}; if(strcmp(cmd, \"/ruha\", true) == 0){ if(IsPlayerConnected(playerid)) { if(IsAtClothShop(playerid)) { if(params < 1 || !IsNumeric(param[1])) return Msg(playerid, \"Használata: /ruha [skin ID]\"); if(GetMoney(playerid) < 1500) return Msg(playerid, \"Egy ruha ára 1.500Ft!\"); new skin = strval(param[1]); new talalt = NINCS, bool:talalt_nem = false; for(new x = 0; x < sizeof(Peds); x++) { if(Peds[0] == skin) { talalt = skin; if(PlayerInfo[playerid][pSex] == 2) { for(new y = 0; y < sizeof(Ferfiskinek); y++) { if(Ferfiskinek[y][0] == skin) { talalt_nem = true; break; } } if(talalt_nem) return Msg(playerid, \"Nem vagy férfi!\"); } else if(PlayerInfo[playerid][pSex] == 1) { for(new y = 0; y < sizeof(NoiSkinek); y++) { if(NoiSkinek[y][0] == skin) { talalt_nem = true; break; } } if(talalt_nem) return Msg(playerid, \"Nem vagy nõ!\"); } } } if(talalt == NINCS) Msg(playerid, \"Nincs ilyen ruha!\"); else { Msg(playerid, \"Vettél egy ruhát\"); Cselekves(playerid, \"vett egy ruhát\"); SetPlayerSkin(playerid, talalt); PlayerInfo[playerid][pModel] = talalt; GiveMoney(playerid, -1500); } } else { Msg(playerid, \"Nem vagy a ruhaboltban!\"); }}} Amit akarsz írd át amint látod MSG-vel van emg írva ha nincs be definálva hát tedd emg!Ne pedig ha azt írja h undefin és akkor #define .....Ne így csináld hanem defináld be!Mint sorral!Ha segítettem mehet a +!Még egyszer mondom modból szedtem ki nem tudom h jó!