Jump to content

Tasmell

Membru
  • Posts

    81
  • Joined

  • Last visited

    Never

Everything posted by Tasmell

  1. Tasmell

    /credits

    Am facut cum ai zis tu dar degeaba. Tot nu merge.
  2. Tasmell

    /credits

    #include <a_samp>#include <CPLoader> #include <Sinclude> #include <Dudb> #include JunkBuster #include JunkBusterFS
  3. Tasmell

    timer

    Dap,imi da erori. ( (
  4. Tasmell

    /credits

    Pai si ce trebuie sa fac?
  5. Tasmell

    timer

    Re all.Ma ajutati si pe mine cu ceva? As vrea sa fac un timer adika cand un player face spamuri sa-i apara un text unde scrie ca nu mai poate sa scrie 4 sec sau ceva de genu asta. Daca ma puteti ajuta vas fi recunoscator.
  6. public OnPlayerConnect(playerid) { GetPlayerName(playerid, pname, sizeof(pname)); format(oyunism, sizeof(oyunism), "/Saver/%s.ini",pname); if(!dini_Exists(oyunism)) { dini_Create(oyunism); dini_IntSet(oyunism, "Score", 6000);// aici setezi cat vrei tu, la fel si jos dini_IntSet(oyunism, "Money", 50000000); SetPlayerScore(playerid, dini_Int(oyunism, "Score")); SetPlayerMoney(playerid, dini_Int(oyunism, "Money")); } else { SetPlayerScore(playerid, dini_Int(oyunism, "Score")); SetPlayerMoney(playerid, dini_Int(oyunism, "Money")); } return 1; } Cam asa ar trebui. Nu mai stiu. Sper sa-ti miarga. Bft.
  7. Asta e raspunsul http://wiki.sa-mp.com/wiki/AddPlayerClass Bafta. :cool: :cool:
  8. Tasmell

    /credits

    Salut. Am bagat comanda asta pe server if(strcmp(cmdtext, "/credits", true) == 0) { new plname[MAX_PLAYER_NAME]; new string[650],string2[650],string3[650],string4[650],string5[650],string6[650]; GetPlayerName(playerid,plname,sizeof(plname)); format(string,sizeof(string),"{66CCFF}Te-ai gandit vreo data cine a contribuit la crearea acestui server?\n{66CCFF}Uite ca iti spunem aici!\n\n{FF0000}Scripteri:\n{FFFFFF}[TnT]Rimmon \n AliNuTzZz\n\n"); format(string2,sizeof(string2),"{FF0000}Creatorii GM-ului:\n{FFFFFF}Tasmell\n\n{FF0000}Creatorii Hartilor:\n{FFFFFF}vampir_md\n\n{FF0000}Web Site:\n{FFFFFF}nume\n\n"); format(string3,sizeof(string3),"{FF0000}Others:\n{FFFFFF}nume\n{FFFFFF}nume\n\n"); format(string4,sizeof(string4),"{FF0000}Cel mai bun jucator: %s\n",plname); format(string5,sizeof(string5),"{FF0000}=====================================================\n{3300FF}Deadly {FFFF00}Maximum {FF0000}Stunt\n{0099FF}Visit {FFFFFF}wWw.Deadly.tk\n{0099FF}\n{FF0000}=====================================================\n"); format(string6,sizeof(string6),"{FF0000}%s %s %s %s %s",string,string2,string3,string4,string5); ShowPlayerDialog(playerid, 12000, DIALOG_STYLE_MSGBOX, "{3399FF}-= Creatorii RST =-", string6, "Ok", ""); return 1; } dar cand dau compile imi da doua warninguri C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(1102) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(1102) : warning 219: local variable "string3" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 7364 bytes Code size: 557764 bytes Data size: 1080504 bytes Stack/heap size: 16384 bytes; estimated max. usage=5551 cells (22204 bytes) Total requirements: 1662016 bytes 2 Warnings. si cand intru pe server si scriu /credits imi zice UNCKNOW COMMAND. Daca stiti dc nu merge dati un reply! ms :cool:
  9. Tasmell

    1 ploblema

    La fel ( (. Oare din ce cauza?
  10. Salut . Am bagat asta in gm pentru flip pe tasta Y if(newkeys == KEY_YES) { if(IsPlayerInAnyVehicle(playerid)) { new Float:ax,Float:ay,Float:az,Float:vangle; GetPlayerPos(playerid, ax, ay, az); GetVehicleZAngle(GetPlayerVehicleID(playerid), vangle); SetVehiclePos(GetPlayerVehicleID(playerid), ax, ay, az+1); SetVehicleZAngle(GetPlayerVehicleID(playerid), vangle); SendClientMessage(playerid, COLOR_GREEN,"Vehicle Fliped!"); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); return 1; } } Nu stiu dc dar cand apas 2, z,q,w click stanga si alte taste face flip. Normal trebuia doar pe tasta Y. Iar pe celalt gm de unde am luato face flip doar pe y. Oare este din cauza gm-ului?
  11. Tasmell

    comenzi

    Salut. Va pun si eu cateva intrebari. Pot sa bac in gamemod comenzi diferite? Eu am if (strcmp("/....", cmdtext, true, 3) == 0) si as vrea sa fac niste comenzi cu CMD:..(playerid,params[])
  12. Misto dar te intreb si eu ceva. Dc nu raman conturile salvate? Intru pe server ma inregistrez dupaia ies , intru iar si imi cere sa ma inregistrez, si daca vreau sa adayg ceva in gm imi da eroare ca nu am #include <Color>. Imi dai un link?
  13. Ma ,an copiat si eu asta de la tine, dar cand intru pe server dau buyvip, imi apare regulile alea si dupaia dau buy si nu imi mai apare nimi. :tongue:
  14. R3 all. Cum fac comanda aceasta dcmd_flip(playerid,params[]) { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID, Angle); FS_SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, Angle); SetVehicleHealth(VehicleID,1000.0); return SendClientMessage(playerid, blue,"Vehicle Flipped. "); } else return SendClientMessage(playerid,red,"Error: You are not in a vehicle."); } asa fel incat cand esti in masina si teai rasturnat sa apesi Y ?
  15. Salut. Am Radmin si in el am 6 warniguri pe care nu le stiu sa le rezolv. Uitati warningurile: C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(987) : warning 209: function "OnPlayerSpawn" should return a value C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(1095) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(2413) : warning 203: symbol is never used: "params" C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(6475) : warning 219: local variable "name" shadows a variable at a preceding level C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(6482) : warning 219: local variable "name" shadows a variable at a preceding level C:\Users\Soap\Desktop\SR The Best\filterscripts\Radmin.pwn(6551) : warning 219: local variable "name" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Warnings. Ma puteti ajuta?
  16. Tasmell

    Poarta

    Nu se cer scripturi :| :|. Cititi si voi regulamentul ala ca nu degeaba este pus acolo. :cool: :cool: :cool:
  17. Salut tuturor! Nu stiti cum pot pune o masina tunata in gm? Am incercat pe sv sa tunez o masina si dupaia sa dau/save cand sunt in ea. Am copiat alea addstatic vehicle..etc in gm.Si cand intru pe server imi apare masina dar nu este tunata. Am icercat si cu mta-ul dar degeaba.Adaug masini si alte obiecte dau save,intru pe 1 site sa o convertesc si cand e convertita imi apar doar obiectele CREATEOBIECT, Din cate stiu treabuia sa-mi apara si addstaticvehicle.
  18. Re all . Ma puteti ajuta si pe mine cu ceva? Cum pun o propietate noua pe server? Mia zis cineva ca trebuie sa intru in scriptfiles - PropertySystem - PropertyInfo unde imi apar astea de mai jos Four Dragons Casino,2024.56,1007.65,10.81,172323,2000,Nobody,0,0 Pompieri,-2025.43,67.01,28.45,72323,500,Nobody,0,0 Firma NIKE,-1942.93,486.07,31.95,400000,30200,Nobody,0,0 Studiolul ABC,-2053.77,457.20,35.15,400000,30200,Nobody,0,0 Come A Lot,2182.12,1115.15,12.35,76855,800,Nobody,0,0 Camels Toe,2208.27,1286.29,10.81,163895,900,Nobody,0,0 The High Roller,1956.68,1342.80,15.35,128696,650,Nobody,0,0 Royal Casino,2088.62,1449.17,10.52,119914,670,Nobody,0,0 Caligula's Casino,2184.11,1676.77,10.81,411842,2500,Nobody,0,0 Clowns Pocket,2220.12,1837.81,10.52,101653,550,Nobody,0,0 The Visage,2027.27,1914.67,11.93,114736,1500,Nobody,0,0 Las Venturas Casino,2165.10,2162.12,10.43,59321,650,Nobody,0,0 Well Stacked Pizza,370.98,-122.94,1001.46,30459,350,Nobody,0,0 Eu am incercat sa fac ceva de genu: Divino Club Galati,217,2482.0706,-1690.5765,13.5132,168.9173,Nobody,0,0 Dupa ce am facut asta am intrat pe server dar nu mia aparut ( (. Oare trebuia sa mai sterg ceva la coordonatele alea? Uitati coordonatele 217,2482.0706,-1690.5765,13.5132,168.9173,0,0,0,0,0,0.
  19. Tasmell

    CMDS

    Daca sterg {C6C6C6}[ imi da si mai multe erori ( ( ( :tongue: :tongue: :tongue: :tongue: :tongue: :tongue: :tongue: :tongue: :tongue: :tongue:
  20. Ma dar dupa ce bag asta forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } if(strcmp(cmdtext, "/hm", true) == 0) { if(PlayerToPoint(1.0,playerid,402.4715,2462.0723,16.5000) || PlayerToPoint(1.0,playerid,-2635.6709,1366.7129,7.1252) || PlayerToPoint(1.0,playerid,-2338.0388,-1610.1379,483.7186) || PlayerToPoint(1.0,playerid,2137.1509,-2435.3596,13.5469) || PlayerToPoint(1.0,playerid,1313.6654,1267.3495,10.8203)) { SetPlayerHealth(playerid, 100.00); SetPlayerArmour( playerid, 100.00 ); SendClientMessage(playerid, COLOR_RED,"{48FB0D}Spawn Health, {F70000}Adaugata!"); } return 1; } imi da eorile astea: C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1620) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1620) : error 017: undefined symbol "PlayerToPoint" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : error 017: undefined symbol "PlayerToPoint" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1628) : error 017: undefined symbol "x" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1629) : error 017: undefined symbol "y" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1630) : error 017: undefined symbol "z" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1632) : error 017: undefined symbol "radi" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1640) : warning 225: unreachable code C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1642) : error 017: undefined symbol "PlayerToPoint" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 9 Errors. si daca dau new PlayerToPoint; imi da astea: C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : error 012: invalid function call, not a valid address C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : warning 221: label name "Float" shadows tag name C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : error 017: undefined symbol "radi" C:\Documents and Settings\Administrator\Desktop\SR The Best\gamemodes\RO.pwn(1621) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
  21. Salut. Am facut comanda /hm: if(strcmp(cmdtext, "/hm", true) == 0) { SetPlayerHealth(playerid, 100.00); SetPlayerArmour( playerid, 100.00 ); SendClientMessage(playerid, COLOR_RED,"{48FB0D}Spawn Health, {F70000}Adaugata!"); return 1; } Eu as vrea ca aceasta comanda sa mearga doar in CATEVA zone de spawn. EX: AA NRGS LSAIR CHILLIAD LVAIR etc. La mine acesta comanda merge in orice zona si e cam naspa asa. Cum fac sa mearga doar in zonele de spawn? Coordonate spawn zone: 402.4715,2462.0723,16.5000,40.0,0 -2635.6709,1366.7129,7.1252,40.0,0 -2338.0388,-1610.1379,483.7186,40.0,0 2137.1509,-2435.3596,13.5469,40.0,0 1313.6654,1267.3495,10.8203,40.0,0
  22. Tasmell

    CMDS

    Nu stii dc imi da eorile alea?
  23. Tasmell

    CMDS

    Ma ,dar dupa ce bag asta si dau compile imi apar astea : C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11369) : error 017: undefined symbol "C6C6C6" C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11369) : error 017: undefined symbol "Commands" C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11369) : error 017: undefined symbol "Page" C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11369) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. si daca pun cu " in fata {C6C6C6} imi apare doar asta: C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11369) : error 017: undefined symbol "Cmds2" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. si dupaia scriu new Cmds2; si imi apare : C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(11370) : error 035: argument type mismatch (argument 5) C:\Users\Soap\Desktop\SR The Best\gamemodes\RO.pwn(13066) : warning 203: symbol is never used: "Cmds2" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. 11370 ShowPlayerDialog(playerid, 116, DIALOG_STYLE_MSGBOX,"{C6C6C6}Commands Page 2:", Cmds2 ,"Next","Cancel")
×
×
  • 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.