Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van. 1426
RP/RPG kérések / Autószalon« Dátum: 2012. február 26. - 17:37:26 »
Akkor van egy ugyan ilyen dialog 1000es számmal ellátva!
1427
Segítségkérés / ANim nem müködik be logináskor« Dátum: 2012. február 26. - 17:05:54 »
Szia! Alap skinválasztó:
[pawn]SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 90.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1003.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); ApplyAnimation(playerid,\"BOX\",\"boxhipup \", 4.1,1,1,1,1,1);[/pawn] Elméletben mûködik! 1428
RP/RPG kérések / Autószalon« Dátum: 2012. február 26. - 16:52:30 »
1. Felveszed a pickupot, elõjön egy dialog.
2. Választasz egyet. 3. Élvezed az új autót 1430
Segítségkérés / ennek a parancsnak mi a baja /setlevel« Dátum: 2012. február 26. - 16:05:41 »
Egy hibát találtam, hiányzik a nev, nev2 változója.
[pawn]new nev[MAX_PLAYER_NAME], nev2[MAX_PLAYER_NAME];[/pawn] 1431
Segítségkérés / Valaki tud egy regisztralos rendszert adni ?« Dátum: 2012. február 26. - 15:48:55 »Idézetet írta: Szabyxxx date=1330267490\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17584\" data-ipsquote-contentclass=\"forums_Topic http://sampforum.hu/index.php?topic=7449.0Meglehet, hogy nem mysqleset igényel kezdõként Itt egy másik, ladmin4v2, nem igazán csípem, de neked szerintem megfelel, magyar, dialogos. http://sampforum.hu/index.php?topic=8488.0 (Hamarosan csinálok egy kiegészítõt LuxAdmin-hoz, hogy csak bejelentkezés után tudjanak írni.) 1432
Segítségkérés / ennek a parancsnak mi a baja /setlevel« Dátum: 2012. február 26. - 15:45:07 »
A legújabbat leszeded innen: http://forum.sa-mp.com/showthread.php?t=120356
1433
RP/RPG kérések / Autószalon« Dátum: 2012. február 26. - 15:43:53 »
Az lehetetlen, valamit te rontottál el.
Az enyém ezt írja, idézem: SendClientMessage(playerid, 0x38FF06FF, \"Vettél egy infernus-t $10000 ért\" );[/quote] 1434
Segítségkérés / valaki atkovertalja zcmd-be mert nem sikerul ?« Dátum: 2012. február 26. - 15:40:25 »Idézetet írta: Norby date=1330267121\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17586\" data-ipsquote-contentclass=\"forums_Topic Már valahod definálva van az X Y ZKb. vagy 30x definiálva van, szóval valószínûleg az a gond Töröld ki a new Float:x,Float:y,Float:z -ket, csak egy maradjon a mód tetején! 1435
Segítségkérés / ennek a parancsnak mi a baja /setlevel« Dátum: 2012. február 26. - 15:34:20 »
Nem találok semmi hibát. Valószínû az sscanf-al lessz a probléma, mint ahogy azt már az elõttem szóló említette.
Idézetet írta: Szabyxxx date=1330266655\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17585\" data-ipsquote-contentclass=\"forums_Topic próbáld meg ígyEz így eléggé ki van másolva egy adminscriptbõl, 100%, hogy nem fog mûködni. 1436
RP/RPG kérések / Autó respawn« Dátum: 2012. február 26. - 15:32:33 »
Így jónak kell lennie:
[pawn]CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy]+1.0,CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],0);[/pawn] 1437
Segítségkérés / valaki atkovertalja zcmd-be mert nem sikerul ?« Dátum: 2012. február 26. - 15:30:51 »
Olyan nehéz volt bemásolni ide: http://sampforum.hu/index.php?page=zcmd
[pawn]CMD:help(playerid, params[]) { SendPlayerFormattedText(playerid,\"-Segitség:-\",0); SendPlayerFormattedText(playerid,\"/rules-Szabályzat.\",0); SendPlayerFormattedText(playerid,\"/parancsok.\",0); SendPlayerFormattedText(playerid,\"/teles-teleportok.\",0); SendPlayerFormattedText(playerid,\"/colors-szinek.\",0); SendPlayerFormattedText(playerid,\"/shop-vásarlás.\",0); return 1; } CMD:rules(playerid, params[]) { SendPlayerFormattedText(playerid,\"<<..::Szabályok::..>>\",0); SendPlayerFormattedText(playerid,\"1.Ne csitelj = ban\",0); SendPlayerFormattedText(playerid,\"2.Ne db-ez = kick\",0); SendPlayerFormattedText(playerid,\"3.Ne spawn killez = kick\",0); SendPlayerFormattedText(playerid,\"4.Ne káromkogy,ne anyázz = mute/kick\",0); SendPlayerFormattedText(playerid,\"5.Ne floodolj = mute/kick\",0); SendPlayerFormattedText(playerid,\"6.Ne csúfolkodj = warn/kick\",0); SendPlayerFormattedText(playerid,\"7.Ne szidd az adminokat = warn/kick\",0); SendPlayerFormattedText(playerid,\"8.Ne hirdess,ne reklámozz = kick/ban\",0); SendPlayerFormattedText(playerid,\"9.Ne kérj Admin-t = warn/kick\",0); SendPlayerFormattedText(playerid,\"10.Ne szidd az adminokat = warn/kick\",0); SendPlayerFormattedText(playerid,\"11.Ne fenyegesd az adminokat = warn/kick\",0); SendPlayerFormattedText(playerid,\"12.Ne böcsködj,ne feszits = warn/kick/ban\",0); return 1; } CMD:shop(playerid, params[]) { SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek:\"); SendClientMessage(playerid, COLOR_RED,\"/health=2000$\"); SendClientMessage(playerid, COLOR_RED,\"/armour=3000$\"); SendClientMessage(playerid, COLOR_RED,\"/chinsaw=4000$\"); SendClientMessage(playerid, COLOR_RED,\"/m4=7000$\"); SendClientMessage(playerid, COLOR_RED,\"/flamethrower=20000$\"); SendClientMessage(playerid, COLOR_RED,\"/9mm=1000$\"); SendClientMessage(playerid, COLOR_RED,\"/silence-9mm=1500$\"); SendClientMessage(playerid, COLOR_RED,\"/eagle=3500$\"); SendClientMessage(playerid, COLOR_WHITE,\"További dolgok /shop2\"); return 1; } CMD:shop2(playerid, params[]) { SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek2:\"); SendClientMessage(playerid, COLOR_RED,\"/sawn-off=4500$\"); SendClientMessage(playerid, COLOR_RED,\"/combat=5000$\"); SendClientMessage(playerid, COLOR_RED,\"/uzi=3500$\"); SendClientMessage(playerid, COLOR_RED,\"/mp5=4500$\"); SendClientMessage(playerid, COLOR_RED,\"/ak47=5500$\"); SendClientMessage(playerid, COLOR_RED,\"/m4=6000$\"); SendClientMessage(playerid, COLOR_RED,\"/shotgun=4000$\"); SendClientMessage(playerid, COLOR_RED,\"/tec9=2500$\"); SendClientMessage(playerid, COLOR_WHITE,\"Továbi dolgok /shop3\"); return 1; } CMD:shop3(playerid, params[]) { SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek3:\"); SendClientMessage(playerid, COLOR_RED,\"/rifle=4150$\"); SendClientMessage(playerid, COLOR_RED,\"/sniper=4500$\"); return 1; } CMD:parancsok(playerid, params[]) { SendPlayerFormattedText(playerid,\"Parancsok:\",0); SendPlayerFormattedText(playerid,\"/kill-meg halsz\",0); SendPlayerFormattedText(playerid,\"/rep-kocsit meg javícsa\",0); SendPlayerFormattedText(playerid,\"/heli-helicoptert ad pénzert 70000$\",0); SendPlayerFormattedText(playerid,\"/me\",0); SendPlayerFormattedText(playerid,\"/pc-parachutet ad ingyen\",0); SendPlayerFormattedText(playerid,\"/stuntbonus\",0); SendPlayerFormattedText(playerid,\"/givecash-pénz utalás\",0); SendPlayerFormattedText(playerid,\"/nrg-nrg-500 ad ingyen\",0); SendPlayerFormattedText(playerid,\"/freeway-freeway motort ad ingyen\",0); return 1; } CMD:teles(playerid, params[]) { SendPlayerFormattedText(playerid,\"Teleportok:\",0); SendPlayerFormattedText(playerid,\"/kickstart /8track /tele-ls /tele-sf /tele-lv /ammu /grove /sf-pimp\",0); SendPlayerFormattedText(playerid,\"/ls-pimp /chilliad /drag /dm /dm2 /dm3 /drift /drift2 /derby\",0); SendPlayerFormattedText(playerid,\"/derby2 /army /lv-air /ls-air /sf-air /da-air /jizzy /jump\",0); return 1; } CMD:colors(playerid, params[]) { SendPlayerFormattedText(playerid,\"Szinek:\",0); SendPlayerFormattedText(playerid,\"/magenta /medgreen /lightred /darkmagenta /lightblue /lightgreen\",0); SendPlayerFormattedText(playerid,\"/lemon /orangered /yellow /darkgreen /medblue /darkpurple /lightbrown\",0); SendPlayerFormattedText(playerid,\"/pink /orange /black /violet /lightcyan /red /lightbluegreen /gold /grayblue\",0); SendPlayerFormattedText(playerid,\"/bluegreen /neutralblue /white\",0); return 1; } CMD:magenta(playerid, params[]) { SetPlayerColor(playerid, 0xA587DE0BA354); return 1; } CMD:medgreen(playerid, params[]) { SetPlayerColor(playerid, 0x9CDE7180); return 1; } CMD:lightred(playerid, params[]) { SetPlayerColor(playerid, 0xFF99AADD); return 1; } CMD:darkmagenta(playerid, params[]) { SetPlayerColor(playerid, 0xA7105DEF); return 1; } CMD:lightblue(playerid, params[]) { SetPlayerColor(playerid, 0x33CCFFAA); return 1; } CMD:lightgreen(playerid, params[]) { SetPlayerColor(playerid, 0x24FF0AB9); return 1; } CMD:lemon(playerid, params[]) { SetPlayerColor(playerid, 0xDDDD2357); return 1; } CMD:orangered(playerid, params[]) { SetPlayerColor(playerid, 0xE9370DFC); return 1; } CMD:yellow(playerid, params[]) { SetPlayerColor(playerid, 0xFFFF00AA); return 1; } CMD:darkgreen(playerid, params[]) { SetPlayerColor(playerid, 0x12900BBF); return 1; } CMD:medblue(playerid, params[]) { SetPlayerColor(playerid, 0x63AFF00A); return 1; } CMD:darkpurple(playerid, params[]) { SetPlayerColor(playerid, 0x800080AA); return 1; } CMD:lightbrown(playerid, params[]) { SetPlayerColor(playerid, 0x99934EFA); return 1; } CMD:pink(playerid, params[]) { SetPlayerColor(playerid, 0xFF66FFAA); return 1; } CMD:orange(playerid, params[]) { SetPlayerColor(playerid, 0xFF9900AA); return 1; } CMD:black(playerid, params[]) { SetPlayerColor(playerid, 0x00000000); return 1; } CMD:violet(playerid, params[]) { SetPlayerColor(playerid, 0x9955DEEE); return 1; } CMD:lightcyan(playerid, params[]) { SetPlayerColor(playerid, 0xAAFFCC33); return 1; } CMD:red(playerid, params[]) { SetPlayerColor(playerid, 0xAA3333AA); return 1; } CMD:lightbluegreen(playerid, params[]) { SetPlayerColor(playerid, 0x0FFDD349); return 1; } CMD:gold(playerid, params[]) { SetPlayerColor(playerid, 0xDEAD4370); return 1; } CMD:grayblue(playerid, params[]) { SetPlayerColor(playerid, 0x456EAF67); return 1; } CMD:bluegreen(playerid, params[]) { SetPlayerColor(playerid, 0x46BBAA00); return 1; } CMD:neutralblue(playerid, params[]) { SetPlayerColor(playerid, 0xABCDEF01); return 1; } CMD:white(playerid, params[]) { SetPlayerColor(playerid, 0xFFFFFFAA); return 1; } CMD:jump(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,1532.2787,-1357.2721,329.4535); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,1532.2787,-1357.2721,329.4535); GivePlayerWeapon(playerid, 46, 200); } return 1; } CMD:jizzy(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2626.7002,1392.7729,7.1016); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2626.7002,1392.7729,7.1016); } return 1; } CMD:health(playerid, params[]) { if(GetPlayerMoney(playerid) >= 2000) { GivePlayerMoney(playerid, -2000); SendClientMessage(playerid, 0xFFFF00AA, \"élet meg véve -2000$ !\"); SetPlayerHealth(playerid, 100); GameTextForPlayer(playerid, \"~r~Healed!\",1900,1); } else if(GetPlayerMoney(playerid) < 2000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2000$ kel hozzá !\"); } return 1; } CMD:armour(playerid, params[]) { if(GetPlayerMoney(playerid) >= 3000) { GivePlayerMoney(playerid, -3000); SendClientMessage(playerid, 0xFFFF00AA, \"pajzs meg véve -3000$ !\"); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, \"~r~Armoured!\",1900,1); } else if(GetPlayerMoney(playerid) < 3000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3000$ kel hozzá !\"); } return 1; } CMD:freeway(playerid, params[]) { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid,X,Y,Z); CreateVehicle(463,X,Y+1,Z+1,5,3,0,90000); SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen freeway a tied!\"); return 1; } CMD:nrg(playerid, params[]) { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid,X,Y,Z); CreateVehicle(522,X,Y+1,Z+1,5,3,0,90000); SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen nrg a tied!\"); return 1; } CMD:ls-air(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2126.1204,-2560.5300,13.5469); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2126.1204,-2560.5300,13.5469); } return 1; } CMD:sf-air(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-1688.5039,-196.1701,14.1484); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-1688.5039,-196.1701,14.1484); } return 1; } CMD:lv-air(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,1702.6162,1608.1442,10.3202); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,1702.6162,1608.1442,10.3202); } return 1; } CMD:army(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,296.5106,1974.9750,17.6406); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,296.5106,1974.9750,17.6406); } return 1; } CMD:derby2(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-1199.5333,-1068.5527,129.1338); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-1199.5333,-1068.5527,129.1338); } return 1; } CMD:derby(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2040.2617,-108.5906,35.1984); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2040.2617,-108.5906,35.1984); } return 1; } CMD:drift2(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2510.2849,-623.0972,132.7324); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2510.2849,-623.0972,132.7324); } return 1; } CMD:drift(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-343.0616,1528.1173,75.3570); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-343.0616,1528.1173,75.3570); } return 1; } CMD:dm3(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-1407.0469,1486.2013,7.1016); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-1407.0469,1486.2013,7.1016); } return 1; } CMD:dm2(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,620.3115,833.7418,-42.9609); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,620.3115,833.7418,-42.9609); } return 1; } CMD:dm(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-536.2773,2593.6890,53.4154); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-536.2773,2593.6890,53.4154); } return 1; } CMD:da-air(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,397.9708,2539.6289,19.6311); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,397.9708,2539.6289,19.6311); } return 1; } CMD:drag(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2680.9539,1254.0300,55.6806); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2680.9539,1254.0300,55.6806); } return 1; } CMD:chilliad(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2310.7341,-1654.3699,483.6932); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2310.7341,-1654.3699,483.6932); } return 1; } CMD:lv-pimp(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2385.6577,1027.3882,10.8203); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2385.6577,1027.3882,10.8203); } return 1; } CMD:ls-pimp(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,1041.7820,-1034.0206,31.8991); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,1041.7820,-1034.0206,31.8991); } return 1; } CMD:sf-pimp(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-2692.4758,208.7675,4.3281); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-2692.4758,208.7675,4.3281); } return 1; } CMD:grove(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2504.8965,-1668.2948,13.3696); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2504.8965,-1668.2948,13.3696); } return 1; } CMD:ammu(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2136.2075,953.7546,10.7474); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2136.2075,953.7546,10.7474); } return 1; } CMD:tele-ls(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2772.1746,-2006.9355,13.5547); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2772.1746,-2006.9355,13.5547); } return 1; } CMD:tele-sf(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-1918.7202,282.9269,41.0469); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,-1918.7202,282.9269,41.0469); } return 1; } CMD:tele-lv(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,2326.8254,1387.0673,42.8203); } else { new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,2326.8254,1387.0673,42.8203); } return 1; } CMD:stuntbonus(playerid, params[]) { EnableStuntBonusForPlayer(playerid, 1); return 1; } CMD:pc(playerid, params[]) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid, 0x00BFFFFF, \"adtal magadnak parachutet\"); return 1; } CMD:me(playerid, params[]) { new dir[256]; dir = strtok(cmdtext, idx); strmid(\"tmp\", cmdtext, 4, strlen(cmdtext)); if(!strlen(dir)) { SendClientMessage(playerid,COLOR_GREY,\"Használat: /me [szöveg]\"); return 1; } dir = strtok(cmdtext, idx); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), \"***%s %s\", sendername, \"tmp\"); SendClientMessageToAll(COLOR_WHITE,string); print(string); return 1; } CMD:sniper(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4500) { GivePlayerMoney(playerid, -4500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\"); GivePlayerWeapon(playerid, 34, 200); } else if(GetPlayerMoney(playerid) < 4500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\"); } return 1; } CMD:rifle(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4150) { GivePlayerMoney(playerid, -4150); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4150$ !\"); GivePlayerWeapon(playerid, 33, 200); } else if(GetPlayerMoney(playerid) < 4150) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4150$ kel hozzá !\"); } return 1; } CMD:tec9(playerid, params[]) { if(GetPlayerMoney(playerid) >= 2500) { GivePlayerMoney(playerid, -2500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -2500$ !\"); GivePlayerWeapon(playerid, 32, 200); } else if(GetPlayerMoney(playerid) < 2500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2500$ kel hozzá !\"); } return 1; } CMD:ak47(playerid, params[]) { if(GetPlayerMoney(playerid) >= 5500) { GivePlayerMoney(playerid, -5500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5500$ !\"); GivePlayerWeapon(playerid, 30, 200); } else if(GetPlayerMoney(playerid) < 5500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5500$ kel hozzá !\"); } return 1; } CMD:mp5(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4500) { GivePlayerMoney(playerid, -4500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\"); GivePlayerWeapon(playerid, 29, 200); } else if(GetPlayerMoney(playerid) < 4500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\"); } return 1; } CMD:uzi(playerid, params[]) { if(GetPlayerMoney(playerid) >= 3500) { GivePlayerMoney(playerid, -3500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 3500$ !\"); GivePlayerWeapon(playerid, 28, 200); } else if(GetPlayerMoney(playerid) < 3500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\"); } return 1; } CMD:combat(playerid, params[]) { if(GetPlayerMoney(playerid) >= 5000) { GivePlayerMoney(playerid, -5000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5000$ !\"); GivePlayerWeapon(playerid, 27, 200); } else if(GetPlayerMoney(playerid) < 5000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5000$ kel hozzá !\"); } return 1; } CMD:sawn-off(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4500) { GivePlayerMoney(playerid, -4500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\"); GivePlayerWeapon(playerid, 26, 200); } else if(GetPlayerMoney(playerid) < 4500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\"); } return 1; } CMD:shotgun(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4000) { GivePlayerMoney(playerid, -4000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\"); GivePlayerWeapon(playerid, 25, 200); } else if(GetPlayerMoney(playerid) < 4000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\"); } return 1; } CMD:silence-9mm(playerid, params[]) { if(GetPlayerMoney(playerid) >= 1500) { GivePlayerMoney(playerid, -1500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1500$ !\"); GivePlayerWeapon(playerid, 23, 200); } else if(GetPlayerMoney(playerid) < 1500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1500$ kel hozzá !\"); } return 1; } CMD:eagle(playerid, params[]) { if(GetPlayerMoney(playerid) >= 3500) { GivePlayerMoney(playerid, -3500); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -3500$ !\"); GivePlayerWeapon(playerid, 24, 200); } else if(GetPlayerMoney(playerid) < 3500) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\"); } return 1; } CMD:9mm(playerid, params[]) { if(GetPlayerMoney(playerid) >= 1000) { GivePlayerMoney(playerid, -1000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1000$ !\"); GivePlayerWeapon(playerid, 22, 200); } else if(GetPlayerMoney(playerid) < 1000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1000$ kel hozzá !\"); } return 1; } CMD:chinsaw(playerid, params[]) { if(GetPlayerMoney(playerid) >= 4000) { GivePlayerMoney(playerid, -4000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\"); GivePlayerWeapon(playerid, 9, 200); } else if(GetPlayerMoney(playerid) < 4000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\"); } return 1; } CMD:m4(playerid, params[]) { if(GetPlayerMoney(playerid) >= 6000) { GivePlayerMoney(playerid, -6000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -6000$ !\"); GivePlayerWeapon(playerid, 31, 200); } else if(GetPlayerMoney(playerid) < 6000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 6000$ kel hozzá !\"); } return 1; } CMD:heli(playerid, params[]) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); if(GetPlayerMoney(playerid) >= 70000) { GivePlayerMoney(playerid, -70000); SendClientMessage(playerid, 0xFFFF00AA, \"heli meg véve -70000$ !\"); CreateVehicle(497, X, Y, Z + 1, 90.0, -1, -1, 1000000000); } else if(GetPlayerMoney(playerid) < 70000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 70000$ kel hozzá !\"); } return 1; } CMD:flamethrower(playerid, params[]) { if(GetPlayerMoney(playerid) >= 20000) { GivePlayerMoney(playerid, -20000); SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 20000$ !\"); GivePlayerWeapon(playerid, 37, 200); } else if(GetPlayerMoney(playerid) < 20000) { SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 20000$ kel hozzá !\"); } return 1; } CMD:rep(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_YELLOW, \"Auto: javítva !\"); SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0); } else return SendClientMessage(playerid, COLOR_RED, \"SERVER: nem vagy kocsiba.\"); return 1; } CMD:8track(playerid, params[]) { SetPlayerInterior(playerid,7); ResetPlayerWeapons(playerid); SetPlayerPos(playerid,-1403.0116,-250.4526,1043.5341); SendClientMessage(playerid, COLOR_YELLOW, \"Welcome to 8-Track RC Circuit\"); new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), \"%s has joined 8-Track RC Circuit, type /8track to join\", name); return 1; } CMD:kickstart(playerid, params[]) { SetPlayerInterior(playerid,14); ResetPlayerWeapons(playerid); SetPlayerPos(playerid,-1462.9445,1562.0704,1052.7500); //); SendClientMessage(playerid, COLOR_YELLOW, \"***Welcome to KickStart Stadium\"); new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), \"%s has joined KickStart Stadium, type /kickstart to join\", name); return 1; } CMD:kill(playerid, params[]) { SetPlayerHealth(playerid, 0.00); ResetPlayerWeapons(playerid); return 1; } CMD:givecash(playerid, params[]) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\"); return 1; } moneys = strval(tmp); //printf(\"givecash_command: %d %d\",giveplayerid,moneys); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playermoney = GetPlayerMoney(playerid); if (moneys > 0 && playermoney >= moneys) { GivePlayerMoney(playerid, (0 - moneys)); GivePlayerMoney(giveplayerid, moneys); format(string, sizeof(string), \"You have sent %s(player: %d), $%d.\", giveplayer,giveplayerid, moneys); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), \"You have recieved $%d from %s(player: %d).\", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); printf(\"%s(playerid:%d) has transfered %d to %s(playerid:%d)\",sendername, playerid, moneys, giveplayer, giveplayerid); } else { SendClientMessage(playerid, COLOR_YELLOW, \"Invalid transaction amount.\"); } } else { format(string, sizeof(string), \"%d is not an active player.\", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; }[/pawn] 1438
Segítségkérés / ennek a parancsnak mi a baja /setlevel« Dátum: 2012. február 26. - 15:23:46 »
Szia, szerintem az ud helyett rd kell. De mondjuk, utólag megnéztem, tök mindegy.
1439
Segítségkérés / Valaki tud egy regisztralos rendszert adni ?« Dátum: 2012. február 26. - 14:39:51 »1440
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 14:39:01 »
Ez kell neked :
|