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. 1471
Beszélgetés / Írj egy betût, a következõ ír hozzá még egyet. Minél hosszabb legyen a szó.« Dátum: 2012. február 26. - 17:07:23 »
Dagadt Állatomat Vígan Szidom Különféle Mónokal de nem Akarom Lábán Rekordinátorra Fellhúz
1472
Beszélgetés / Hány PM-ed van? vol.2« Dátum: 2012. február 26. - 17:06:29 »
Üzenetek: [Összes: 30 / 0 Olvasatlan]
1473
Segítségkérés / valaki atkovertalja zcmd-be mert nem sikerul ?« Dátum: 2012. február 26. - 15:39:21 »
nem ertem :no:
1474
Segítségkérés / valaki atkovertalja zcmd-be mert nem sikerul ?« Dátum: 2012. február 26. - 15:37:20 »
[pawn]D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(177) : error 029: invalid expression, assumed zero
D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(382) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(383) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(384) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(385) : warning 219: local variable \"VehicleID\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(390) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(391) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(392) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(409) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(410) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(411) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(412) : warning 219: local variable \"VehicleID\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(417) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(418) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(419) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(475) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(476) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(477) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(491) : warning 219: local variable \"X\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(492) : warning 219: local variable \"Y\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(493) : warning 219: local variable \"Z\" shadows a variable at a preceding level D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(506) : error 001: expected token: \"(\", but found \"-\" D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(506) : error 001: expected token: \";\", but found \"-identifier-\" D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(506) : error 001: expected token: \";\", but found \"-\" D:\\SAMP-SERVER\\gamemodes\\Stunt_MOD.pwn(506) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.[/pawn] 1475
Segítségkérés / valaki atkovertalja zcmd-be mert nem sikerul ?« Dátum: 2012. február 26. - 15:25:05 »
[pawn]public OnPlayerCommandText(playerid, cmdtext[])
{ new string[256]; new playermoney; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new cmd[256]; new giveplayerid, moneys, idx; cmd = strtok(cmdtext, idx); if(strcmp(cmd, \"/help\", true) == 0) { 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; } if(strcmp(cmd, \"/rules\", true) == 0) { 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; } if(strcmp(cmd, \"/shop\", true) == 0) { 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; } if(strcmp(cmd, \"/shop2\", true) == 0) { 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; } if(strcmp(cmd, \"/shop3\", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek3:\"); SendClientMessage(playerid, COLOR_RED,\"/rifle=4150$\"); SendClientMessage(playerid, COLOR_RED,\"/sniper=4500$\"); return 1; } if(strcmp(cmd, \"/parancsok\", true) == 0) { 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; } if(strcmp(cmd, \"/teles\", true) == 0) { 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; } if(strcmp(cmd, \"/colors\", true) == 0) { 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; } if(strcmp(cmdtext, \"/magenta\", true) == 0){ SetPlayerColor(playerid, 0xA587DE0BA354); return 1; } if(strcmp(cmdtext, \"/medgreen\", true) == 0){ SetPlayerColor(playerid, 0x9CDE7180); return 1; } if(strcmp(cmdtext, \"/lightred\", true) == 0){ SetPlayerColor(playerid, 0xFF99AADD); return 1; } if(strcmp(cmd, \"/darkmagenta\", true) == 0){ SetPlayerColor(playerid, 0xA7105DEF); return 1; } if(strcmp(cmdtext, \"/lightblue\", true) == 0){ SetPlayerColor(playerid, 0x33CCFFAA); return 1; } if(strcmp(cmdtext, \"/lightgreen\", true) == 0){ SetPlayerColor(playerid, 0x24FF0AB9); return 1; } if(strcmp(cmdtext, \"/lemon\", true) == 0){ SetPlayerColor(playerid, 0xDDDD2357); return 1; } if(strcmp(cmdtext, \"/orangered\", true) == 0){ SetPlayerColor(playerid, 0xE9370DFC); return 1; } if(strcmp(cmdtext, \"/yellow\", true) == 0){ SetPlayerColor(playerid, 0xFFFF00AA); return 1; } if(strcmp(cmdtext, \"/darkgreen\", true) == 0){ SetPlayerColor(playerid, 0x12900BBF); return 1; } if(strcmp(cmdtext, \"/medblue\", true) == 0){ SetPlayerColor(playerid, 0x63AFF00A); return 1; } if(strcmp(cmdtext, \"/darkpurple\", true) == 0){ SetPlayerColor(playerid, 0x800080AA); return 1; } if(strcmp(cmdtext, \"/lightbrown\", true) == 0){ SetPlayerColor(playerid, 0x99934EFA); return 1; } if(strcmp(cmdtext, \"/pink\", true) == 0){ SetPlayerColor(playerid, 0xFF66FFAA); return 1; } if(strcmp(cmdtext, \"/orange\", true) == 0){ SetPlayerColor(playerid, 0xFF9900AA); return 1; } if(strcmp(cmdtext, \"/black\", true) == 0){ SetPlayerColor(playerid, 0x00000000); return 1; } if(strcmp(cmdtext, \"/violet\", true) == 0){ SetPlayerColor(playerid, 0x9955DEEE); return 1; } if(strcmp(cmdtext, \"/lightcyan\", true) == 0){ SetPlayerColor(playerid, 0xAAFFCC33); return 1; } if(strcmp(cmdtext, \"/red\", true) == 0){ SetPlayerColor(playerid, 0xAA3333AA); return 1; } if(strcmp(cmdtext, \"/lightbluegreen\", true) == 0){ SetPlayerColor(playerid, 0x0FFDD349); return 1; } if(strcmp(cmdtext, \"/gold\", true) == 0){ SetPlayerColor(playerid, 0xDEAD4370); return 1; } if(strcmp(cmdtext, \"/grayblue\", true) == 0){ SetPlayerColor(playerid, 0x456EAF67); return 1; } if(strcmp(cmdtext, \"/bluegreen\", true) == 0){ SetPlayerColor(playerid, 0x46BBAA00); return 1; } if(strcmp(cmdtext, \"/neutralblue\", true) == 0){ SetPlayerColor(playerid, 0xABCDEF01); return 1; } if(strcmp(cmdtext, \"/white\", true) == 0){ SetPlayerColor(playerid, 0xFFFFFFAA); return 1; } if(strcmp(cmd, \"/jump\", true) == 0) { 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; } if(strcmp(cmd, \"/jizzy\", true) == 0) { 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; } if(strcmp(cmdtext, \"/health\", true) == 0) { 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; } if(strcmp(cmdtext, \"/armour\", true) == 0) { 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; } if(strcmp(cmdtext,\"/freeway\",true) == 0) { 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; } if(strcmp(cmdtext,\"/nrg\",true) == 0) { 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; } if(strcmp(cmd, \"/ls-air\", true) == 0) { 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; } if(strcmp(cmd, \"/sf-air\", true) == 0) { 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; } if(strcmp(cmd, \"/lv-air\", true) == 0) { 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; } if(strcmp(cmd, \"/army\", true) == 0) { 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; } if(strcmp(cmd, \"/derby2\", true) == 0) { 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; } if(strcmp(cmd, \"/derby\", true) == 0) { 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; } if(strcmp(cmd, \"/drift2\", true) == 0) { 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; } if(strcmp(cmd, \"/drift\", true) == 0) { 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; } if(strcmp(cmd, \"/dm3\", true) == 0) { 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; } if(strcmp(cmd, \"/dm2\", true) == 0) { 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; } if(strcmp(cmd, \"/dm\", true) == 0) { 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; } if(strcmp(cmd, \"/da-air\", true) == 0) { 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; } if(strcmp(cmd, \"/drag\", true) == 0) { 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; } if(strcmp(cmd, \"/chilliad\", true) == 0) { 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; } if(strcmp(cmd, \"/lv-pimp\", true) == 0) { 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; } if(strcmp(cmd, \"/ls-pimp\", true) == 0) { 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; } if(strcmp(cmd, \"/sf-pimp\", true) == 0) { 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; } if(strcmp(cmd, \"/grove\", true) == 0) { 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; } if(strcmp(cmd, \"/ammu\", true) == 0) { 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; } if(strcmp(cmd, \"/tele-ls\", true) == 0) { 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; } if(strcmp(cmd, \"/tele-sf\", true) == 0) { 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; } if(strcmp(cmd, \"/tele-lv\", true) == 0) { 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; } if(strcmp(cmdtext, \"/stuntbonus\",true)==0) { EnableStuntBonusForPlayer(playerid, 1); return 1; } if(strcmp(cmdtext, \"/pc\",true)==0) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid, 0x00BFFFFF, \"adtal magadnak parachutet\"); return 1; } if(strcmp(cmd, \"/me\",true)==0){ 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; } if(strcmp(cmdtext, \"/sniper\", true) == 0) { 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; } if(strcmp(cmdtext, \"/rifle\", true) == 0) { 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; } if(strcmp(cmdtext, \"/tec9\", true) == 0) { 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; } if(strcmp(cmdtext, \"/ak47\", true) == 0) { 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; } if(strcmp(cmdtext, \"/mp5\", true) == 0) { 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; } if(strcmp(cmdtext, \"/uzi\", true) == 0) { 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; } if(strcmp(cmdtext, \"/combat\", true) == 0) { 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; } if(strcmp(cmdtext, \"/sawn-off\", true) == 0) { 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; } if(strcmp(cmdtext, \"/shotgun\", true) == 0) { 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; } if(strcmp(cmdtext, \"/silence-9mm\", true) == 0) { 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; } if(strcmp(cmdtext, \"/eagle\", true) == 0) { 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; } if(strcmp(cmdtext, \"/9mm\", true) == 0) { 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; } if(strcmp(cmdtext, \"/chinsaw\", true) == 0) { 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; } if(strcmp(cmdtext, \"/m4\", true) == 0) { 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; } if(strcmp(cmdtext, \"/heli\", true) == 0) { 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; } if(strcmp(cmdtext, \"/flamethrower\", true) == 0) { 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; } if(strcmp(cmdtext, \"/rep\",true)==0) { 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; } if (strcmp(cmdtext, \"/8track\",true)==0){ 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; } if (strcmp(cmdtext, \"/kickstart\",true)==0){ 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; } if(strcmp(cmdtext, \"/kill\",true)==0) { SetPlayerHealth(playerid, 0.00); ResetPlayerWeapons(playerid); return 1; } if(strcmp(cmd, \"/givecash\", true) == 0) { 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; } // PROCESS OTHER COMMANDS return 0; }[/pawn] 1476
Segítségkérés / Valaki tud egy regisztralos rendszert adni ?« Dátum: 2012. február 26. - 14:44:40 »
kosz de en pont ezt az admin-t hasznlom de egy regizo rendszer kene mert ez olyan ha valaki akar akkor a neveddel fel tud jonni :nono:
1477
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 14:42:56 »
koszi nagyon szepen megy zarom
1478
Segítségkérés / Valaki tud egy regisztralos rendszert adni ?« Dátum: 2012. február 26. - 14:38:47 »
Valaki tud egy jo magyar regisztralos rendszert adni nekem eddig a t-reg volt de valamiert nem megy es mar le is van torulve :confused:
1479
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 14:36:42 »
{
GivePlayerMoney(playerid, PocketMoney); SetPlayerInterior(playerid,0); SetPlayerRandomSpawn(playerid); TogglePlayerClock(playerid,1); return 1; } 1480
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 14:30:12 »
kosz nagyon szepen de amikor meghalok vagy loginolok akkor 50k val tobb lesz azt akarom hogy csak $10 vagy $100 legyen tobbb
1481
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 14:20:54 »
[pawn]public OnPlayerDeath(playerid, killerid, reason)
{ new playercash; if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); ResetPlayerMoney(playerid); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } } return 1; } /* public OnPlayerDeath(playerid, killerid, reason) { haxed by teh mike new name[MAX_PLAYER_NAME]; new string[256]; new deathreason[20]; new playercash; GetPlayerName(playerid, name, sizeof(name)); GetWeaponName(reason, deathreason, 20); if (killerid == INVALID_PLAYER_ID) { switch (reason) { case WEAPON_DROWN: { format(string, sizeof(string), \"*** %s drowned.)\", name); } default: { if (strlen(deathreason) > 0) { format(string, sizeof(string), \"*** %s died. (%s)\", name, deathreason); } else { format(string, sizeof(string), \"*** %s died.\", name); } } } } else { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); if (strlen(deathreason) > 0) { format(string, sizeof(string), \"*** %s killed %s. (%s)\", killer, name, deathreason); } else { format(string, sizeof(string), \"*** %s killed %s.\", killer, name); } } SendClientMessageToAll(COLOR_RED, string); { playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } } return 1; }*/[/pawn] 1482
Segítségkérés / Amikor meghal az ember a fegyver es a penze elveszik« Dátum: 2012. február 26. - 13:27:08 »
ha meghalook akkor elveszik megint a penzem $50k-ra oroke :tantrum:
1484
Segítségkérés / Valaki tudja mi ez : Run time error 19:File or ..........« Dátum: 2012. február 26. - 09:44:29 »
akor adsz egy jo plugint ?
1485
Segítségkérés / Valaki tudja mi ez : Run time error 19:File or ..........« Dátum: 2012. február 26. - 08:51:28 »
igy se megy :\'(
|