Jump to content

Razvan Eternity

Membru
  • Posts

    145
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Razvan Eternity

  1. El a vrut doar sa ia din baza de date de la ID-ul 0.
  2. Bravo, acum toti copilasii de maxim 10 ani isi deschid serverul folosind acest gamemode. Multumim, acum o sa existe mai multe servere fantoma.
  3. ia frt: public LoadProperty(){ housess = cache_num_rows(); for(new i = 0; i <= housess; i++) { new h = i - 1; HouseInfo[hID] = cache_get_field_content_int(h, "ID"); HouseInfo[hEntrancex] = cache_get_field_content_float(h, "Entrancex"); HouseInfo[hEntrancey] = cache_get_field_content_float(h, "Entrancey"); HouseInfo[hEntrancez] = cache_get_field_content_float(h, "Entrancez"); HouseInfo[hExitx] = cache_get_field_content_float(h, "Exitx"); HouseInfo[hExity] = cache_get_field_content_float(h, "Exity"); HouseInfo[hExitz] = cache_get_field_content_float(h, "Exitz"); cache_get_field_content(h, "Owner", HouseInfo[hOwner], SQL, 130); cache_get_field_content(h, "Discription", HouseInfo[hDiscription], SQL, 130); HouseInfo[hValue] = cache_get_field_content_int(h, "Value"); HouseInfo[hPrice] = cache_get_field_content_int(h, "Prices"); HouseInfo[hHel] = cache_get_field_content_int(h, "Hel"); HouseInfo[hMusic] = cache_get_field_content_int(h, "Music"); HouseInfo[hInterior] = cache_get_field_content_int(h, "Interior"); HouseInfo[hInteriorType] = cache_get_field_content_int(h, "InteriorType"); HouseInfo[hLock] = cache_get_field_content_int(h, "Lockk"); HouseInfo[hOwned] = cache_get_field_content_int(h, "Owned"); HouseInfo[hRent] = cache_get_field_content_int(h, "Rent"); HouseInfo[hRentabil] = cache_get_field_content_int(h, "Rentabil"); HouseInfo[hTakings] = cache_get_field_content_int(h, "Takings"); HouseInfo[hLevel] = cache_get_field_content_int(h, "Level"); HouseInfo[hVirtual] = cache_get_field_content_int(h, "Virtual"); /*Incep garajele*/ HouseInfo[gExtX] = cache_get_field_content_float(h, "gExtX"); HouseInfo[gExtY] = cache_get_field_content_float(h, "gExtY"); HouseInfo[gExtZ] = cache_get_field_content_float(h, "gExtZ"); HouseInfo[gAngel] = cache_get_field_content_float(h, "gAngel"); HouseInfo[hgaraj] = cache_get_field_content_int(h, "garaj"); HouseInfo[gSlot] = cache_get_field_content_int(h, "gSlot"); } for(new i = 1; i <= housess; i++) { OnPropTextdrawUpdate(1, i); } printf("[LOADING] %d houses loaded.", housess); printf("[LOADING] %d turfs loaded.", turfsss);}
  4. Daca nu ai gPlayerLogged[playerid] = 0; la onplayerdisconnect nu e deconectat.
  5. Este necesar de a face o verificare daca ID este conectat.
  6. Esti prea noob, poti sa te lasi. Daca nu faci aceea verificare, nu va avea pe cine sa teleporteze , Daca nu stii nici sa faci o comanda, e grav rau.
  7. A uitat sa verifice daca ID-ul este conectat, uite aici comanda: CMD:dmv(playerid, params[]){ if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pHelper] < 3) return SendClientMessage(playerid, COLOR_WHITE,AdminOnly); new string[250]; new id; if(sscanf(params, "u")) return SendClientMessage(playerid, -1, "USAGE: /dmv <id>"); if(!IsPlayerConnected(id) && gPlayerLogged[id] == 1) return SCM(playerid, -1, "ERROR: Player not connected"); if(IsPlayerInAnyVehicle(id)) SetVehiclePos(GetPlayerVehicleID(id),1218.9750,-1812.7285,16.5938); if(GetPlayerState(id) == PLAYER_STATE_ONFOOT) SetPlayerPos(id, 1218.9750,-1812.7285,16.5938); SetPlayerInterior(id,0); return 1; }
  8. #include <a_samp> #include <zcmd> #include <foreach> #define SCM SendClientMessage #define SCMALL SendClientMessageToAll new Bulangiu[MAX_PLAYERS], FastGiftPoints = 0; CMD:fastgift(playerid) { if(Bulangiu[playerid] == 1) return SCM(playerid, -1, "Ai luat deja un cadou, asteapta pana reseteaza un admin."); if(FastGiftPoints == 0) return SCM(playerid, -1, "Sunt 0 cadouri nu este resetat fast gift-ul."); Bulangiu[playerid] = 1; if(FastGiftPoints > 0 && FastGiftPoints < 6) { FastGiftPoints++; SCM(playerid, -1, "ai luat un cadou te drq"); } return 1; } CMD:resetfastgift(playerid) { foreach(new i : Player) { Bulangiu = 0; } FastGiftPoints = 1; SCMALL(-1, "Un admin a bagat iar Fast Gift, hai si tu /gps > Fast Gift."); return 1; }
  9. Nu am webhost, insa poti cauta pe google. Trebuie sa fie minim unul.
  10. Poti urca pe webhost un panel chiar daca nu ai domeniu cumparat.
  11. Ahh, fix la ceea ce lucram si eu Daca stiam ca e facuta deja, nu ma mai apucam.. i hate life.
  12. nu prea cred, o sa vad. Versiunea v0.0.2 include business-uri, case, 3 job-uri noi si mai multe.
  13. Poti incepe, eu deja am inceput sa lucrez la v0.0.2
  14. 1. Revised 2. Kevized 3. Hazived
  15. Esti tu nab si tu nu pui 'SetPlayerInterior', tu il pui cu // in fata.
  16. Nu ti se incarca pluginul 'streamer'. Uite aici un link catre plugin: https://github.com/samp-incognito/samp-streamer-plugin/releases/tag/v2.9.2 Pui tot din arhiva in folderul serverului tau, apoi compilezi din nou gamemode-ul.
  17. Descarca serverul original de sa-mp, te duci in folderul 'pawno' din serverul original, in includes si copii "a_samp.inc" apoi il pui in folderul "pawno" -> "includes" in folderul serverului tau.
×
×
  • 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.