Ionut09
-
Posts
36 -
Joined
-
Last visited
Posts posted by Ionut09
-
-
Cand ma spawnez in apartament nu mi se incarca tot, doar obiectele.
-
5 minutes ago, Leonard said:
Arata-ne si functia OnPlayerSpawn
-
- Username : Ionut09
- Problema întâlnită: cand scriu /spawnchange si selectez hq, nu ma da unde trebuie.
- Detalii despre problemă: -
- Ce ai încercat să faci înainte să postezi?: sa ma uit prin alt gm, dar nu imi dau seama.
- Cod sursa (recomandat pastebin.com) : https://pastebin.com/7cqFCx3F
- Alte detalii : -
-
34 minutes ago, Leonard said:
Atunci problema e de la cod, nu ai facut tu ceva bine, lasa comanda /agl aici.
-
7 minutes ago, Leonard said:
In baza de date se insereaza corect?
Repet, problema o am doar daca dau relog, doar daca dau /agl id all, daca dau /agl id driving , pilots si asa mai departe, nu am aceasta problema. raman licentele.
-
14 hours ago, iMatt said:
Nu este nimic php, verifici in baza de date daca licentele s-au salvat, si verifici cand jucatorul s-a conectat pe server (in gamemode) daca variabilele "pCarLic", "pGunLic", etc, extrag din baza de date valorile pentru licente. ex:
PlayerInfo[playerid][pCarLic] = cache_get_field_content_int(0, "CarLic");
PlayerInfo[playerid][pCarLicT] = cache_get_field_content_int(0, "CarLicT"); PlayerInfo[playerid][pCarLic] = cache_get_field_content_int(0, "CarLic"); PlayerInfo[playerid][pCarLicSuspend] = cache_get_field_content_int(0, "CarLicSuspend"); PlayerInfo[playerid][pGunLicSuspend] = cache_get_field_content_int(0, "GunLicSuspend"); PlayerInfo[playerid][pFlyLicT] = cache_get_field_content_int(0, "FlyLicT"); PlayerInfo[playerid][pFlyLic] = cache_get_field_content_int(0, "FlyLic"); PlayerInfo[playerid][pBoatLicT] = cache_get_field_content_int(0, "BoatLicT"); PlayerInfo[playerid][pBoatLic] = cache_get_field_content_int(0, "BoatLic"); PlayerInfo[playerid][pGunLicT] = cache_get_field_content_int(0, "GunLicT"); PlayerInfo[playerid][pGunLic] = cache_get_field_content_int(0, "GunLic");
8 hours ago, Leonard said:In ce moment dispar licentele?
la relog, pardon.
-
7 hours ago, Leonard said:
In ce moment dispar licentele?
La restart.
-
1 hour ago, iMatt said:
Ai verificat si in baza de date daca se salveaza? Poate se salveaza dar nu se stocheaza bine in variabila cand jucatorul se conecteaza pe server.
Nu ma pricep php, daca poti sa explici pentru prosti, pe alt gm mi se salveaza cu comanda asta.
-
1 hour ago, iMatt said:
Arata-ne si mysql_log.
nu am nimic in el, e gol.
-
- Username : Ionut09
- Problema întâlnită: cand dau /agl all, nu ramane licentele salvate, dupa un timp dispare.
- Detalii despre problemă: -
- Ce ai încercat să faci înainte să postezi?: -
- Cod sursa (recomandat pastebin.com) : https://pastebin.com/gP3Jjka3
- Alte detalii : -
-
-
-
- Username : Ionut09
- Problema întâlnită: cand dai /cheat , nu apare sus cheaters: x , daca dai report apare.
- Detalii despre problemă: -
- Ce ai încercat să faci înainte să postezi?: nimic
- Cod sursa (recomandat pastebin.com) : https://pastebin.com/Vi1cgy1H
- Alte detalii : -
-
-
rezolvat, mersi imatt.
-
Edit: Nu am rezolvat defapt.
-
- Username : Ionut09
- Problema întâlnită: Cum modific un include .pwn ? Daca il modific cu pawno primesc eroare.
- Detalii despre problemă: -
- Ce ai încercat să faci înainte să postezi?:
- Cod sursa (recomandat pastebin.com) : -
- Alte detalii : -
-
up
-
- Username: Ionut
[REZOLVAT] Intrebare - spawnchange
in Closed topics
Posted
Aparent, nu mai am problema aia, nu stiu de ce nu mi s-a incarcat atunci.
nu am pus si la onplayerspawn, are ceva? Deoarece eu nu vreau sa pun la x,y,z coordonatele unde sa se spawneze toti, vreau fiecare la casa lui.