-
Posts
145 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
News
Documentation
Everything posted by Razvan Eternity
-
Am uitat sa copiez iar codu, ia-l:
-
Da-mi linia cu new HouseInfo
-
Codul corect:
-
El a vrut doar sa ia din baza de date de la ID-ul 0.
-
Bravo, acum toti copilasii de maxim 10 ani isi deschid serverul folosind acest gamemode. Multumim, acum o sa existe mai multe servere fantoma.
-
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);}
-
Daca nu ai gPlayerLogged[playerid] = 0; la onplayerdisconnect nu e deconectat.
-
Recompileaza gamemode-ul.
-
Este necesar de a face o verificare daca ID este conectat.
-
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.
-
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; }
-
#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; }
-
Nu am webhost, insa poti cauta pe google. Trebuie sa fie minim unul.
-
Poti urca pe webhost un panel chiar daca nu ai domeniu cumparat.
-
if(dialogid == DIALOG_CARBUY)
-
Ahh, fix la ceea ce lucram si eu Daca stiam ca e facuta deja, nu ma mai apucam.. i hate life.
-
Preview Spannide Gamemode [v0.0.1-beta]
Razvan Eternity replied to Razvan Eternity's topic in Gamemode-uri
nu prea cred, o sa vad. Versiunea v0.0.2 include business-uri, case, 3 job-uri noi si mai multe. -
Preview Spannide Gamemode [v0.0.1-beta]
Razvan Eternity replied to Razvan Eternity's topic in Gamemode-uri
Poti incepe, eu deja am inceput sa lucrez la v0.0.2 -
1. Revised 2. Kevized 3. Hazived
-
Preview Spannide Gamemode [v0.0.1-beta]
Razvan Eternity replied to Razvan Eternity's topic in Gamemode-uri
Urmeaza curand un update pentru gamemode. -
Esti tu nab si tu nu pui 'SetPlayerInterior', tu il pui cu // in fata.
-
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.
-
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.
-
[Gamemode] Arena by RazvaN. for sa-mp.ro
Razvan Eternity replied to Razvan Eternity's topic in Gamemode-uri
up