Jump to content

Search the Community

Showing results for tags 'script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • SA-MP General
    • Noutăţi şi Actualizări
    • Comunitatea SA:MP România
    • General
    • Suport Client
    • Imagini şi Videoclipuri
  • SA-MP Server
    • Publicitate Server
    • Suport Servere
  • SA-MP Scripting şi Pluginuri
    • Ajutor Scripting
    • Gamemode-uri
    • Filterscript-uri
    • Pluginuri
  • SA-MP Altele
    • Totul şi Nimic
    • Anunţuri
  • A/D TDM 193.84.64.19:7777's Topicuri
  • Beginner Scripters's Discutii

Categories

  • General
    • Probleme frecvente
  • Server
  • Scripting
    • Funcţii
    • Callback-uri
  • Resurse
    • ID-uri
    • Jucător
    • Vehicul

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Website URL


Yahoo


Skype


Location


Interests


In-game Name

Found 15 results

  1. Salut, ma poate ajuta cineva cum sa fac sa-mi dau admin de pe numele meu pe gm burned? Gen, sa fie acces doar pe numele meu la cmd:setadmin https://imgur.com/a/wgdfxI7 https://imgur.com/a/YkkjYuQ
  2. teste ng lurk.cs Am incercat sa fac un script pentru teste la National Guard, dar cand incerc sa intru in joc cu acest fisier pus in cleo imi iau crash. Este prima oara cand am incercat sa fac ceva in Sanny Builder, sunt paralel cu scriptatul pentru samp. Bine, cu scriptatul in general.
  3. Salut! Cine ma poate ajuta cu o comanda de tipul zcmd /bonus si /skip. Folosesc Gamemode-ul Buha v1 asemanator Bugged
  4. Problema intalnita (descriere): Am creat un sistem de PIN de la 0 pe dialog. Merge totul bine mersi dar problema este cand selectez sa deblochez contul, pot sa fac asta cu orice pin. De exemplu daca am pin-ul setat: 1234, eu pot sa deblochez contul si cu alte pinuri.Ero(area / rile) / warning-(ul / urile): Nu am eroriLiniile de cod / sursa / script-ul(obligatoriu): Dialog-ul unde seteaza pin-ul si dialogul unde deblocheaza.Imagini / Video (optional): Nu am.Ati incercat sa rezolvati singur?: Da, sa rescriu dialogul dar degeaba. Dialog-ul unde seteaza codul pin: if(dialogid == DIALOG_SETPIN) { new string[128]; if(response) { if(!strmid(PlayerInfo[playerid][pPinAccount], inputtext, 0, strlen(inputtext), 999)) { strmid(PlayerInfo[playerid][pPinAccount], inputtext, 0, strlen(inputtext), 999); Update(playerid,pPinAccountu); format(string,sizeof(string),"Ok, codul tau pin este: %s",inputtext); SendClientMessage(playerid,COLOR_YELLOW,string); } else return SendClientMessage(playerid,COLOR_YELLOW2,"Eroare: Contul tau are deja un cod pin setat."); } } Dialog-ul de deblocare: if(dialogid == DIALOG_UNLOCKPIN) { if(response) { if(PlayerInfo[playerid][pLockAccount] == 1) return SendClientMessage(playerid,COLOR_YELLOW2,"Eroare: Tu ai deja contul deblocat."); if(strlen(inputtext) == strmid(PlayerInfo[playerid][pPinAccount], inputtext, 0, strlen(inputtext), 999)) { PlayerInfo[playerid][pLockAccount] = 1; Update(playerid,pLockAccountu); SendClientMessage(playerid,COLOR_YELLOW,"* Ti-ai deblocat contul cu succes."); } else return SendClientMessage(playerid,COLOR_YELLOW2,"Eroare: Ai introdus un cod pin gresit."); } }
  5. Salut. Am o problema cu Notepad++. Tot timpul cand dau complie imi da aceleasi erori. Primul complie e bun. Dupa cand dau alta data imi arata din nou rezultatul la primul. Acesta este codul executat : cd $(CURRENT_DIRECTORY) "E:\OMGFolders\Folders\samp server\pawno\pawncc.exe" "$(FILE_NAME)" -; -( Am mai avut un cod, ceva cu cd/ . Acelasi lucru. Stie cineva cum sa rezolv? EDIT : am rezolvat Pentru a rezolva aceasta problema trebuie sa pui o linie in plus la codul de executare . Inainte de tot trb sa pui "npp_save" ca sa salveze aplicatia inainte de a verifica de buguri.
  6. Vreau sa adaug mai multe chesti in sistemul /shop si nu stiu cum , am incercat sa iau de pe alte gm si nu merg , as' vrea sa adaug sloturi la masini , artifici , etc , cei care se pricep stiu la ce ma refer , ati putea sa imi recomandati in filescript ceva un sistem mai usor de bagat in gm Cei care incep sa critice cu comentarii de genu , da de ce nu iti faci tu singur si te milogesti pe aici , ii rog sa nu raspunda la intrebare.
  7. Problema intalnita (descriere): Am un gm gf si vreau sa adaug niste case si adaug in property.cfg coordonatele corespunaztoare si in gm la fel bag coordonatele masini si la new HouseInfo[34][hInfo]; am adaugat cate case am si la new Float:HouseCarSpawns[34][4] = { la fel cate masini si coordonatele masiniEro(area / rile) / warning-(ul / urile): nici o eroare doar ca atunci cand intru pe server casa nu apare..Liniile de cod / sursa / script-ul(obligatoriu): -Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
  8. Salut, vreau si eu sa-mi da-ti un model cu comanda [/updates] + cu ce trebuie sa definesc si sa mai adaug in GameMode pentru a merge comanda. MULTUMESC!
  9. Salut, cine ma poate ajuta cu aceste warning-uri? C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(4552) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(4769) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(4551) : warning 204: symbol is assigned a value that is never used: "string7" C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(10946) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(10946) : warning 204: symbol is assigned a value that is never used: "string" C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(11009) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(15484) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(15494) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(15569) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(17833) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(18230) : warning 217: loose indentation C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(19995) : warning 202: number of arguments does not match definition C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(19995) : warning 202: number of arguments does not match definition C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(42345) : warning 201: redefinition of constant/macro (symbol "strcpy(LastText[playerid],") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43390) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43409) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune2[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43424) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune3[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43439) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune4[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43454) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune5[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43469) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune6[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43484) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune7[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43499) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune8[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(43515) : warning 201: redefinition of constant/macro (symbol "strcpy(raspunsfactiune9[playerid],inputtext,512);") C:\Users\Crysty\Desktop\finally s4uriK 2k18\gamemode\gamemodes\S4K.pwn(45663) : warning 204: symbol is assigned a value that is never used: "raport" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Macar alea cu "redefinition of constant/macro.
  10. Vreau sa fac un server cu un scripter serios
  11. Ma poate ajuta cineva cu aceste erori/warning-uri? E:\pawno\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\fly.inc(45) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\fly.inc(45) : warning 219: local variable "y" shadows a variable at a preceding level E:\pawno\include\fly.inc(60) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\fly.inc(60) : warning 219: local variable "y" shadows a variable at a preceding level E:\pawno\include\fly.inc(108) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\fly.inc(108) : warning 219: local variable "y" shadows a variable at a preceding level E:\pawno\include\OPA.inc(57) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\OPA.inc(58) : warning 219: local variable "y" shadows a variable at a preceding level E:\pawno\include\OPA.inc(142) : warning 219: local variable "vehicleid" shadows a variable at a preceding level E:\pawno\include\OPA.inc(144) : warning 219: local variable "x" shadows a variable at a preceding level E:\pawno\include\OPA.inc(145) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(46) : error 017: undefined symbol "AntiDeAMX" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(2955) : warning 219: local variable "vehicleid" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4763) : error 004: function "vUpdate" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4874) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4874) : warning 219: local variable "h" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4893) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4893) : warning 219: local variable "h" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4902) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(4962) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5013) : error 004: function "ProxDetector" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5166) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5168) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5185) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5344) : error 017: undefined symbol "PutPlayerInVehicleEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5363) : error 017: undefined symbol "PutPlayerInVehicleEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5382) : error 017: undefined symbol "PutPlayerInVehicleEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5401) : error 017: undefined symbol "PutPlayerInVehicleEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(5420) : error 017: undefined symbol "PutPlayerInVehicleEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6054) : warning 219: local variable "health" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6056) : error 017: undefined symbol "GetPlayerHealthEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6061) : error 017: undefined symbol "SetPlayerHealthEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6065) : error 017: undefined symbol "SetPlayerHealthEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6494) : error 017: undefined symbol "SetPlayerPosEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(6725) : error 004: function "SS" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(7234) : warning 219: local variable "x" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(7234) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(7619) : warning 219: local variable "health" shadows a variable at a preceding level C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(7622) : error 017: undefined symbol "GetPlayerHealthEx" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(7627) : error 017: undefined symbol "Carspeed" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(8360) : error 017: undefined symbol "NumIp" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(8368) : error 017: undefined symbol "AntiFlood_InitPlayer" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(10084) : error 017: undefined symbol "ClearWanted" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(10112) : error 017: undefined symbol "BanCheck" C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(10247) : error 004: function "CrimInRange" is not implemented C:\Users\Crysty\Desktop\gamemode sa\gamemode sa\gamemodes\engame.pwn(10470) : error 017: undefined symbol "SetPlayerArmourEx" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Asa arata comanda inainte sa o modific si dupa ce am moficat-o: https://pastebin.com/rDN4eMrn
  12. Caut un scripter fara banii adica free Gamemode Host si etc. cum sunt alte sv
  13. Salut, Dupa cum spune si titlul topic-ului .. nu o sa precizez decat ca: / Scripterul trebuie sa aiba cunostinte medii spre avansate, schimbarea culorilor intr-un text sau a unui text in sine nu se poate numii scripting ( pentru amatori );. / Scripterul trebuie sa cunoasca neaparat Mysql. Despre ce ar fi vorba? - Este vorba de terminarea unui Update la un Gamemode pe care nu l-am terminat din diverse motive, gamemode-ul ramanand astfel la un prieten care nu stie sa '' scripteze '' deocamdata. Prin '' terminarea unui gamemode '' ma refer ca sunt cateva buguri minore ( pentru cineva care se pricepe cat de cat ) de rezolvat cat si terminarea unor sisteme. Cam asta ar fi in prim plan. Info: Totul este contracost, nu ma astept la nimic pe degeaba dar ma astept la niste preturi decente. Plata prin Pay Pal sau Transfer Bancar nu este posibila. Rog doritorii sau cei care vor sa afle mai multe informatii sa ma contacteze prin PM. Multumesc!
  14. ZCMD + STRCMP Nota: Aceasta metoda nu scade timpul de executie al comenzilor intrucat in continuare se va folosi strcmp pentru a se compara comanda tastata cu comenzile existente in script. O recomand doar in cazul in care doriti sa convertiti comenzile de pe strcmp pe ZCMD, insa nu aveti timp sa le modificati pe toate 'dintr-o lovitura'. Daca considerati ca v-am ajutat, apasati pe +1, sau macar un simplu multumesc. In primul rand, includeti libraria "zcmd" in script-ul dvs.: #include <zcmd> Cautati in script-ul dvs. callback-ul "OnPlayerCommandText": public OnPlayerCommandText(playerid, cmdtext []) In acest moment, il modificati in "OnPlayerCommandPerformed" si adaugati un ultim parametru, "success": public OnPlayerCommandPerformed(playerid, cmdtext [], success) Explicatie: In momentul in care ZCMD executa o comanda, este apelat callback-ul OnPlayerCommandPerformed() cu parametrul "success = 1" daca acea comanda este ZCMD, sau "success = 0" daca acea comanda NU este ZCMD. Totodata, va trebui sa adaugati urmatoarea verificare la OnPlayerCommandPerformed (): if (success) return 1; Explicatie: In cazul in care comanda executata este ZCMD, nu trebuie sa ne legam de ea, deoarece ne intereseaza comenzile non-ZCMD. [hr:3r21s1e9][/hr:3r21s1e9] Daca totul este corect, callback-ul ar trebui sa arate in felul urmator: public OnPlayerCommandPerformed(playerid, cmdtext [], success) { if (success) return 1; // In cazul in care comanda executata este ZCMD, nu se intampla nimic // Comenzile dvs: (exemple) if (!strcmp (cmdtext, "/test", true, 5)) // Verifica daca a fost tastata comanda "/test" { SendClientMessage(playerid, -1, "Test!"); return 1; // Comanda a fost procesata } if (!strcmp (cmdtext, "/test2", true, 6)) // Verifica daca, comanda executata este "/test2" { SendClientMessage(playerid, -1, "Test2!"); return 1; // Comanda a fost procesata } return 0; // In cazul in care comanda nu se gaseste in script (indiferent daca e ZCMD sau alt procesor de comenzi) trimite mesajul "SERVER: Unknown command." } In cazul in care doriti sa fie afisat un mesaj diferit la tastarea unei comenzi inexistente, modificati linia: return 0; In: return SendClientMessage(playerid, -1, "* Comanda tastata nu exista." );
  15. Buna ziua, ma numesc Andrei. Cand dau "F" sa intre in jail cade in gol pana ajunge jos pe pamant si moare va rog ma puteti ajuta? AICI niste poze cu problema -edit- Apropo si pe cei care-i bag in jail cad incontinuu pana ajung la pamant si mor si apoi iara cad pana li se duce jail-ul... // JAIL SPAWN new Float:gRandomJailSpawns[12][3] = { {1757.1348,-1563.9214,1738.80}, {1762.0850,-1564.2567,1738.80}, {1765.7191,-1564.1948,1738.80}, {1769.6143,-1564.0420,1738.80}, {1773.9741,-1565.4312,1738.80}, {1778.8528,-1564.3851,1738.80}, {1778.7909,-1582.1433,1738.80}, {1774.2843,-1582.3098,1738.80}, {1769.5809,-1581.6857,1738.80}, {1765.7164,-1582.5916,1738.80}, {1761.4076,-1583.0607,1738.80}, {1757.4116,-1582.2372,1738.80} }; sau? AddStaticPickup(1239, 23, 1798.5801,-1578.1804,14.0827); // enter jail AddStaticPickup(1239, 23, 1756.4181,-1577.8954,1742.5309); // exit jail AddStaticPickup(1239, 23, 1762.0028,-1584.4185,1742.5264); // mdc jail sau? if (IsPlayerInRangeOfPoint(playerid,2,1798.5801,-1578.1804,14.0827)) // jail ls { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1756.4181,-1577.8954,1742.5309+0.5); GameTextForPlayer(playerid, "~w~Los Santos Jail", 5000, 1); PlayerInfo[playerid][pInt] = 0; TogglePlayerControllable(playerid, 0); SetTimerEx("UnFreezeStation", 200, 0, "i", playerid); } sau? if (IsPlayerInRangeOfPoint(playerid,2,1756.4181,-1577.8954,1742.5309) && PlayerInfo[playerid][pJailed] == 0)//jail
×
×
  • 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.