Jump to content

ReLoaD

Membru
  • Posts

    59
  • Joined

  • Last visited

    Never

Everything posted by ReLoaD

  1. http://forum.sa-mp.com/showthread.php?t=179089
  2. ReLoaD

    Keys

    Folosesti include-urile SA:MP 0.3d R2? Fii sigur ca deschizi Pawno cu executabilul din folder-ul cu include-urile bune..
  3. Nu suntem aici ca sa iti dam mura-n gura, incearca sa rezolvi si doar daca nu reusesti postezi liniile si noi te ajutam. Sfaturi: Ai aici un ghid pentru a afla pozitia jucatorului: http://wiki.sa-mp.com/wiki/IsPlayerInRangeOfPoint Si aici un ghid pentru setarea pozitiei: http://wiki.sa-mp.com/wiki/SetPlayerPos
  4. [pawn] forward TimerAvion(playerid); // La inceputul scriptului if(strcmp(cmd, "/flylv", true) == 0) // La OnPlayerCommandText { SetPlayerPos(playerid, X, Y, Z); SetPlayerInterior(playerid, A); SendClientMessage(playerid, COLOR_WHITE, "Mesaj"); SetTimerEx("TimerAvion", 5000, false, "d", playerid); } public TimerAvion(playerid) // deasupra OnGameModeInit { SetPlayerPos(playerid, X, Y, Z); SetPlayerInterior(playerid, A); SendClientMessage(playerid, COLOR_WHITE, "Mesaj"); return 1; } [/pawn]
  5. Ai deja pus SetTimer din godfather.. Daca l-ai sters, da, pune-l inapoi in callback-ul OnGameModeInit
  6. E mai mult de 2 spatii.. Verifica cum se vede si te descurci tu.
  7. Ai uitat un } .. Poftim, foloseste http://forum.sa-mp.com/showthread.php?t=171429 ca sa vezi unde ai uitat acolada.
  8. [pawn]strcat(BigString, "{00C0FF}|{B7FF00}/dfacebook -> Iti stergi Contul de FaceBook \n", 3500 );[/pawn] In loc de pauzele acelea mari de dupa /dfacebook si FaceBook pui /t.
  9. Pentru teritorii, cauta Xtreme Vehicle Plotter
  10. Nu folosi #pragma tabsize 0 ca nu e bine deloc. Pur si simplu aranjeaza liniile.
  11. In public-ul SyncUp.. [pawn] public SyncUp() { // aici return 1; } [/pawn] Nu creezi tu public-ul SyncUp, ci adaugi unde ai deja.
  12. Nu trebuie sa-l bagi, in GF deja ai asa ceva.. Si te folosesti de timerul SyncUp, nu SyncTime. Adaugi asa: [pawn] new hour,minute,second; gettime(hour,minute,second); if(minute == 0) PayDay(); [/pawn]
  13. Mai poti incerca sa setezi virtualworld 999 atunci cand un jucator intra intr-un cazino, si sa verifici cu OnPlayerKeyStateChange daca jucatorul a apasat F. Nu sunt sigur daca mai apar botii, dar merita incercat.
  14. Loop-ul ala trebuie pus la sfarsitul OnGameModeInit ..
  15. [pawn] for(new v=0; v<MAX_VEHICLES; v++) { SetVehicleNumberPlate(v, "Numar-Veh"); } [/pawn] Il pui in callback-ul OnGameModeInit. Ar fi bine sa definesti MAX_VEHICLES la ~400-500 de masini ca sa nu consumi prea multe resurse cu loop-ul asta. [pawn] #undef MAX_VEHICLES #define MAX_VEHICLES 500 [/pawn]
  16. Din pacate nu exista nicio functie in SA:MP cu care sa poti verifica daca cineva foloseste cazinoul, dar de altfel poti verifica daca jucatorul a folosit cazinoul verificandu-i pozitia si animatia, apoi ii scoti banii castigati.
  17. Sterge toate SetWorldTime si readauga-le acolo unde crezi ca trebuie.
  18. Ai pasii de instalare în topicul ala.. Apropo, iti recomand FcukIt.
  19. Daca culorile factiunilor tale sunt deja setate, atunci trebuie doar sa pui linia ShowPlayerMakers(1) in callback-ul OnGameModeInit. Apropo, trebuia sa postezi la GF&RP.
  20. The_Rock, daca esti paralel cu scripting-ul macar nu-l mai incurca... Spilter, foloseste-te de timer-ul SyncUp pentru a afla ora, minutul si secunda. Daca minutul este 0, inseamna ca e ora fixa..
  21. Trebuie sa instalezi foreach. http://forum.sa-mp.com/showthread.php?t=92679
  22. Explica mai indetaliat ce si cum. Daca folosesti Godfather, posteaza in topicul pentru ajutor godfather. Daca nu, pune aici comenzile si/sau callbackurile care actualizeaza si scriu informatii.
  23. Ok, deci astazi am incercat sa trec GM-ul pe MySQL. ( in fine, am luat parti din moderntopia pentru ca pentru mine MySQL = chineza ) Totul merge extrem de bine pana ce trec de logare. Tabelele se creaza perfect, dar primesc urmatoarele erori in log, pentru fiecare data in parte. Server-ul nu se inchide, dar calculatorul suna ca naiba. [20:07:33] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:07:33] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:07:34] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:07:34] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:07:34] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:07:34] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:07:35] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:07:35] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:07:36] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:07:36] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:11:21] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:11:21] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:11:22] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:11:22] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 [20:11:22] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Char='',ContractTime='',DetSkill='',SexSkill='',BoxSkill='',LawSkill='',MechSkil' at line 1 [20:11:22] Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Int='?·ˆ??šÍf',Local='?·ˆ??šÍf',Team='·ˆ??šÍf',Model=' at line 1 Acesta e callback-ul care actualizeaza datele: http://pastebin.com/RnZChkwX Iar aceasta e baza mea de date: http://www.mediafire.com/?gbppgy534unotkp Ma poate ajuta cineva?
  24. Scazi pozitia Z la toate obiectele de pe harta.
  25. Nu poti porni un local sa te uiti pe el daca tot nu am pus poze? Romani. De aceea prefer sa-mp.com.
×
×
  • 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.