Jump to content

Bladex

Membru
  • Posts

    146
  • Joined

  • Last visited

    Never

Everything posted by Bladex

  1. Poi am facut gm si :-?? nush dc imi da errori ca nu e "implantat" dar e defeinit jos public playertopoint si is mai multe care is asa. Is implantate dar spune ca nu sunt! D:\GM SAMP\samp03\gamemodes\new.pwn(3177) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3181) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3195) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3199) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3203) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3207) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3211) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3215) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3219) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3223) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3227) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3231) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3235) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3239) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3243) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3257) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3261) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3265) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3269) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3273) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3287) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3291) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3295) : error 004: function "PlayerToPoint" is not implemented [pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtClothShop=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(25.0,playerid,20.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; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtGasStation=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,653.7887,-558.9128,16.0569) || PlayerToPoint(6.0,playerid,657.8952,-560.0955,16.0563) || PlayerToPoint(6.0,playerid,657.7588,-570.0426,16.0558) || PlayerToPoint(6.0,playerid,653.2770,-570.6624,16.0559)) {//LANGA ORASE return 1; } else if(PlayerToPoint(8.0,playerid,-93.2372,-1161.8323,1.8126) || PlayerToPoint(6.0,playerid,-98.2476,-1173.9332,1.9468) || PlayerToPoint(6.0,playerid,-95.8510,-1173.7600,1.9070) || PlayerToPoint(6.0,playerid,-90.6453,-1161.3311,1.7448) || PlayerToPoint(6.0,playerid,-86.1291,-1163.8663,1.7806) || PlayerToPoint(6.0,playerid,-91.5619,-1176.0808,1.7427) || PlayerToPoint(6.0,playerid,-88.9722,-1176.5046,1.7013) || PlayerToPoint(6.0,playerid,-83.9432,-1164.8085,1.7549)) {//LS return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2209.1663,2474.5078,10.3772) || PlayerToPoint(6.0,playerid,2198.2334,2475.7424,10.3914)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,1596.3413,2192.0181,10.3905) || PlayerToPoint(6.0,playerid,1595.9370,2202.7014,10.3728)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2114.9333,926.9537,10.3941) || PlayerToPoint(6.0,playerid,2114.4756,916.4849,10.3843)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2639.5535,1099.9788,10.3865) || PlayerToPoint(6.0,playerid,2639.4646,1110.1877,10.3944)) {//LV return 1; } } return 0; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtFishPlace=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtFishPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } } return 0; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtBar=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtBar(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797)) {//In grove street bar (with girlfriend), and in Havanna return 1; } else if(PlayerToPoint(20.0,playerid,329.6093,-1885.4706,2.0742)) {//PLAJA LS return 1; } else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734)) {//PIG Pen return 1; } else if(PlayerToPoint(20.0,playerid,1014.4864,-917.5173,46.6641)) {//BENZINARIE1 return 1; } else if(PlayerToPoint(20.0,playerid,1917.3258,-1777.3032,17.9766)) {//BENZINARIE2 return 1; } else if(PlayerToPoint(20.0,playerid,1512.1785,-1655.1675,13.5392)) {//LSPD1 return 1; } else if(PlayerToPoint(20.0,playerid,1501.0073,-1631.9956,14.0469)) {//LSPD2 return 1; } else if(PlayerToPoint(4.0,playerid,-2285.1082,-1649.3217,483.1833) || PlayerToPoint(10.0,playerid,-2318.2810,-1662.1049,483.3338)) {//plaja return 1; } else if(PlayerToPoint(4.0,playerid,188.8452,-1792.8093,3.9557) || PlayerToPoint(10.0,playerid,193.7065,-1833.7201,3.8855)) {//plaja return 1; } } return 0; }[/pawn] Va rog :D
  2. am uitat ca nu am pus public playertopoint .. T/C
  3. D:\GM SAMP\samp03\gamemodes\new.pwn(3177) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3181) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3195) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3199) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3203) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3207) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3211) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3215) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3219) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3223) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3227) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3231) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3235) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3239) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3243) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3257) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3261) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3265) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3269) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3273) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3287) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3291) : error 004: function "PlayerToPoint" is not implemented D:\GM SAMP\samp03\gamemodes\new.pwn(3295) : error 004: function "PlayerToPoint" is not implemented [pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtClothShop=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(25.0,playerid,20.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; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtGasStation=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,653.7887,-558.9128,16.0569) || PlayerToPoint(6.0,playerid,657.8952,-560.0955,16.0563) || PlayerToPoint(6.0,playerid,657.7588,-570.0426,16.0558) || PlayerToPoint(6.0,playerid,653.2770,-570.6624,16.0559)) {//LANGA ORASE return 1; } else if(PlayerToPoint(8.0,playerid,-93.2372,-1161.8323,1.8126) || PlayerToPoint(6.0,playerid,-98.2476,-1173.9332,1.9468) || PlayerToPoint(6.0,playerid,-95.8510,-1173.7600,1.9070) || PlayerToPoint(6.0,playerid,-90.6453,-1161.3311,1.7448) || PlayerToPoint(6.0,playerid,-86.1291,-1163.8663,1.7806) || PlayerToPoint(6.0,playerid,-91.5619,-1176.0808,1.7427) || PlayerToPoint(6.0,playerid,-88.9722,-1176.5046,1.7013) || PlayerToPoint(6.0,playerid,-83.9432,-1164.8085,1.7549)) {//LS return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2209.1663,2474.5078,10.3772) || PlayerToPoint(6.0,playerid,2198.2334,2475.7424,10.3914)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,1596.3413,2192.0181,10.3905) || PlayerToPoint(6.0,playerid,1595.9370,2202.7014,10.3728)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2114.9333,926.9537,10.3941) || PlayerToPoint(6.0,playerid,2114.4756,916.4849,10.3843)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2639.5535,1099.9788,10.3865) || PlayerToPoint(6.0,playerid,2639.4646,1110.1877,10.3944)) {//LV return 1; } } return 0; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtFishPlace=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtFishPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } } return 0; } //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtBar=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public IsAtBar(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797)) {//In grove street bar (with girlfriend), and in Havanna return 1; } else if(PlayerToPoint(20.0,playerid,329.6093,-1885.4706,2.0742)) {//PLAJA LS return 1; } else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734)) {//PIG Pen return 1; } else if(PlayerToPoint(20.0,playerid,1014.4864,-917.5173,46.6641)) {//BENZINARIE1 return 1; } else if(PlayerToPoint(20.0,playerid,1917.3258,-1777.3032,17.9766)) {//BENZINARIE2 return 1; } else if(PlayerToPoint(20.0,playerid,1512.1785,-1655.1675,13.5392)) {//LSPD1 return 1; } else if(PlayerToPoint(20.0,playerid,1501.0073,-1631.9956,14.0469)) {//LSPD2 return 1; } else if(PlayerToPoint(4.0,playerid,-2285.1082,-1649.3217,483.1833) || PlayerToPoint(10.0,playerid,-2318.2810,-1662.1049,483.3338)) {//plaja return 1; } else if(PlayerToPoint(4.0,playerid,188.8452,-1792.8093,3.9557) || PlayerToPoint(10.0,playerid,193.7065,-1833.7201,3.8855)) {//plaja return 1; } } return 0; }[/pawn] nu stiu dc trebuie sa pun un include sau ceva ca e de la0?
  4. Bladex

    Home Sweet Home

    2/5 daca e pt rp pentru ca e langa autostrada ceva nonrp daca e pt stunt etc.. 4/5
  5. Poi in orice factiune is sau civil la respawn ma spawneaza bine cum am setat eu dar cand dau sethp 0 sau mor ma spawneaza aiurea prin oras oriunde vrea el! Ce pot sa fac?
  6. nu ai modificat nimic acolo , si tot nu merge .
  7. D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6388) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6390) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6400) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6402) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6412) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6414) : error 010: invalid function or declaration D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6424) : error 010: invalid function or declaration [pawn] if(CP[playerid]==77)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==76)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==75)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } return 1; }[/pawn]
  8. 1.Cauta id-ul bizului si baga in comanda /ad SBizzInfo[id la biz][sbTill] += payout; sau ceva de genu . bafta
  9. Bladex

    Npc GTA SA

    Poi cum as putea face ca la burger sa nu dispara oameni si chepointul acela cand esti servit ? Cum as putea face la cluckin bell , pizza si burger sa fie exact ca in gta sa?
  10. am creat o comanda(dealership)si acolo poti cumpara masini!Acum cu ce as vrea sa ma ajutati si pe mine , cum fac de exemplu infernus sa pot cumpara o data nu de infinit de ori ce sa adaug pe aici [pawn]else if (strcmp(carsid, "Infernus", true, strlen(carsid)) == 0) { if(GetPlayerMoney(playerid) >= CarPrice2[7][0]) { new carid = CreateVehicle(411, X,Y,Z, A, color1,color2, 60000); if(PlayerInfo[playerid][pPcarkey] == 999) { PlayerInfo[playerid][pPcarkey] = carid;} else if(PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pDonateRank] >= 50) { PlayerInfo[playerid][pPcarkey2] = carid; } else if(PlayerInfo[playerid][pPcarkey3] == 999 && PlayerInfo[playerid][pDonateRank] >= 100) { PlayerInfo[playerid][pPcarkey3] = carid; } else { return 1; } SafeGivePlayerMoney(playerid,-CarPrice2[7][0]); SBizzInfo[1][sbTill] += CarPrice2[7][0]; SBizzInfo[1][sbProducts]--; PlayerPlayMusic(playerid); CarInfo[carid][cOwned] = 1; CarInfo[carid][cModel] = 411; CarInfo[carid][cLock] = 1; CarInfo[carid][cValue] = CarPrice2[7][0]; CarInfo[carid][cColorOne] = color1; CarInfo[carid][cColorTwo] = color2; CarInfo[carid][cLocationx] = X; CarInfo[carid][cLocationy] = Y; CarInfo[carid][cLocationz] = Z; CarInfo[carid][cAngle] = A; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[carid][cOwner], sendername, 0, strlen(sendername), 999); GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /vhelp to view the vehicle manual!"); SendClientMessage(playerid, COLOR_LIGHTRED, "You can start the engine up now !"); strmid(CarInfo[carid][cDescription], "Infernus", 0, strlen("Infernus"), 999); SaveCars(); } else { SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! "); return 1; } }[/pawn]
  11. am creat o comanda(dealership)si acolo poti cumpara masini!Acum cu ce as vrea sa ma ajutati si pe mine , cum fac de exemplu infernus sa pot cumpara o data nu de infinit de ori ce sa adaug pe aici [pawn]else if (strcmp(carsid, "Infernus", true, strlen(carsid)) == 0) { if(GetPlayerMoney(playerid) >= CarPrice2[7][0]) { new carid = CreateVehicle(411, X,Y,Z, A, color1,color2, 60000); if(PlayerInfo[playerid][pPcarkey] == 999) { PlayerInfo[playerid][pPcarkey] = carid;} else if(PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pDonateRank] >= 50) { PlayerInfo[playerid][pPcarkey2] = carid; } else if(PlayerInfo[playerid][pPcarkey3] == 999 && PlayerInfo[playerid][pDonateRank] >= 100) { PlayerInfo[playerid][pPcarkey3] = carid; } else { return 1; } SafeGivePlayerMoney(playerid,-CarPrice2[7][0]); SBizzInfo[1][sbTill] += CarPrice2[7][0]; SBizzInfo[1][sbProducts]--; PlayerPlayMusic(playerid); CarInfo[carid][cOwned] = 1; CarInfo[carid][cModel] = 411; CarInfo[carid][cLock] = 1; CarInfo[carid][cValue] = CarPrice2[7][0]; CarInfo[carid][cColorOne] = color1; CarInfo[carid][cColorTwo] = color2; CarInfo[carid][cLocationx] = X; CarInfo[carid][cLocationy] = Y; CarInfo[carid][cLocationz] = Z; CarInfo[carid][cAngle] = A; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[carid][cOwner], sendername, 0, strlen(sendername), 999); GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /vhelp to view the vehicle manual!"); SendClientMessage(playerid, COLOR_LIGHTRED, "You can start the engine up now !"); strmid(CarInfo[carid][cDescription], "Infernus", 0, strlen("Infernus"), 999); SaveCars(); } else { SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! "); return 1; } }[/pawn]
  12. am creat o comanda(dealership)si acolo poti cumpara masini!Acum cu ce as vrea sa ma ajutati si pe mine , cum fac de exemplu infernus sa pot cumpara o data nu de infinit de ori ce sa adaug pe aici [pawn]else if (strcmp(carsid, "Infernus", true, strlen(carsid)) == 0) { if(GetPlayerMoney(playerid) >= CarPrice2[7][0]) { new carid = CreateVehicle(411, X,Y,Z, A, color1,color2, 60000); if(PlayerInfo[playerid][pPcarkey] == 999) { PlayerInfo[playerid][pPcarkey] = carid;} else if(PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pDonateRank] >= 50) { PlayerInfo[playerid][pPcarkey2] = carid; } else if(PlayerInfo[playerid][pPcarkey3] == 999 && PlayerInfo[playerid][pDonateRank] >= 100) { PlayerInfo[playerid][pPcarkey3] = carid; } else { return 1; } SafeGivePlayerMoney(playerid,-CarPrice2[7][0]); SBizzInfo[1][sbTill] += CarPrice2[7][0]; SBizzInfo[1][sbProducts]--; PlayerPlayMusic(playerid); CarInfo[carid][cOwned] = 1; CarInfo[carid][cModel] = 411; CarInfo[carid][cLock] = 1; CarInfo[carid][cValue] = CarPrice2[7][0]; CarInfo[carid][cColorOne] = color1; CarInfo[carid][cColorTwo] = color2; CarInfo[carid][cLocationx] = X; CarInfo[carid][cLocationy] = Y; CarInfo[carid][cLocationz] = Z; CarInfo[carid][cAngle] = A; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[carid][cOwner], sendername, 0, strlen(sendername), 999); GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /vhelp to view the vehicle manual!"); SendClientMessage(playerid, COLOR_LIGHTRED, "You can start the engine up now !"); strmid(CarInfo[carid][cDescription], "Infernus", 0, strlen("Infernus"), 999); SaveCars(); } else { SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! "); return 1; } }[/pawn]
  13. La unele comenzi se inchide sv .. nu are scriptfiles original e vreo problema?
  14. [pawn] if(strcmp(cmd, "/buybiz", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_WHITE, " You already own a business, type /sellbiz if you want to buy this one."); return 1; } for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[sbEntranceX], SBizzInfo[sbEntranceY], SBizzInfo[sbEntranceZ]) && SBizzInfo[sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[sbLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",SBizzInfo[sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > SBizzInfo[sbBuyPrice]) { Delete3DTextLabel(Text3D:sbizsale); PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[sbOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[sbOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-SBizzInfo[sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new business help section."); Delete3DTextLabel(Text3D:sbizsale); DateProp(playerid); OnPropUpdate(); OnPlayerUpdate(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]) && BizzInfo[bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[bLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",BizzInfo[bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > BizzInfo[bBuyPrice]) { Delete3DTextLabel(Text3D:bizsale); PlayerInfo[playerid][pPbiskey] = b; BizzInfo[bOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-BizzInfo[bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[bInterior]); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; SetPlayerPos(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]); GameTextForPlayer(playerid, "~w~Bun venit ~n~You can exit at any time by moving to this door and typing /exit", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; PlayerInfo[playerid][pLocal] = b ; SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type 4 to review the new business help section."); Delete3DTextLabel(Text3D:bizsale); DateProp(playerid); OnPropUpdate(); OnPlayerUpdate(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } } return 1; }[/pawn] [pawn] if(strcmp(cmd, "/asellhouse", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /asellhouse [houseid]"); return 1; } new house = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 6) { HouseInfo[house][hHel] = 0; HouseInfo[house][hArm] = 0; HouseInfo[house][hHealthx] = 0; HouseInfo[house][hHealthy] = 0; HouseInfo[house][hHealthz] = 0; HouseInfo[house][hArmourx] = 0; HouseInfo[house][hArmoury] = 0; HouseInfo[house][hArmourz] = 0; HouseInfo[house][hLock] = 1; HouseInfo[house][hOwned] = 0; HouseInfo[house][hVec] = 418; HouseInfo[house][hVcol1] = -1; HouseInfo[house][hVcol2] = -1; strmid(HouseInfo[house][hOwner], "The State", 0, strlen("The State"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~You have sold this property", HouseInfo[house][hValue]); GameTextForPlayer(playerid, string, 10000, 3); housesale = Create3DTextLabel(string,0x006400FF,HouseInfo[house][hEntrancex], HouseInfo[house][hEntrancey], HouseInfo[house][hEntrancez]+1,15,0,1); for(new i = 0; i < sizeof(HouseInfo); i++) format(string, sizeof(string), "[WARNING]: %s a vandut casa cu numarul %d.", sendername, i); OnPropUpdate(); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Nu esti Admin!."); } } return 1; }[/pawn]
  15. e bine scrisa pentru ca am bagat comanda pe alte servere si acolo nu se inchdie!
  16. Cand dau /buybiz , asellbiz , asellhouse ma rog se inchide serverul si in server log nu apare nimic ! dC?
  17. salut!Am pus masini personale in cars.cfg si cand intru intr-o masina e ca una normala nu apare preess /v buy to buy this car ! ma puteti ajuta?
  18. Bladex

    MP3!

    1/10 doar ca l-ai facut e buguri la greu! Am dat pe un post si ma intreaba ce stil vreau , sau unde sa ma spawneze ! WTF.. )
  19. probabil e pe versiunea care nu o ai instalata ( 03.c sau 03.d )
  20. da ma da sunt multe nu stiu unul bun
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.