ReLoaD
Membru-
Posts
59 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by ReLoaD
-
http://forum.sa-mp.com/showthread.php?t=179089
-
Folosesti include-urile SA:MP 0.3d R2? Fii sigur ca deschizi Pawno cu executabilul din folder-ul cu include-urile bune..
-
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
-
Cum fac o comanda care te da intru interior dupa in altul
ReLoaD replied to mafia_wars's question in Arhivă probleme
[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] -
Ai deja pus SetTimer din godfather.. Daca l-ai sters, da, pune-l inapoi in callback-ul OnGameModeInit
-
E mai mult de 2 spatii.. Verifica cum se vede si te descurci tu.
-
Ai uitat un } .. Poftim, foloseste http://forum.sa-mp.com/showthread.php?t=171429 ca sa vezi unde ai uitat acolada.
-
[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.
-
Pentru teritorii, cauta Xtreme Vehicle Plotter
-
Nu folosi #pragma tabsize 0 ca nu e bine deloc. Pur si simplu aranjeaza liniile.
-
In public-ul SyncUp.. [pawn] public SyncUp() { // aici return 1; } [/pawn] Nu creezi tu public-ul SyncUp, ci adaugi unde ai deja.
-
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]
-
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.
-
Cum setez la toate masinile un numar de inmatriculare
ReLoaD replied to onix09's question in Arhivă probleme
Loop-ul ala trebuie pus la sfarsitul OnGameModeInit .. -
Cum setez la toate masinile un numar de inmatriculare
ReLoaD replied to onix09's question in Arhivă probleme
[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] -
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.
-
Sterge toate SetWorldTime si readauga-le acolo unde crezi ca trebuie.
-
Ai pasii de instalare în topicul ala.. Apropo, iti recomand FcukIt.
-
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.
-
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..
-
Trebuie sa instalezi foreach. http://forum.sa-mp.com/showthread.php?t=92679
-
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.
-
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?
-
Scazi pozitia Z la toate obiectele de pe harta.
-
Nu poti porni un local sa te uiti pe el daca tot nu am pus poze? Romani. De aceea prefer sa-mp.com.