-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by norton.
-
Rezolvat. Acel 'for' cu GangZoneCreate trebuie pus in interioru callback-ului
-
Tot nu imi arata turf-urile
-
O sa incerc, Gireada cites-te mai sus, am dat edit la post-u meu
-
Da mie mi se incarca, ati vazut ca acolo am un "printf" si cand deschide imi zice ca am 35 Turfs si atatea am. Dar nu mi se creeaza, trebuie sa mi se creeze dar nu se creeaza, cand intru pe server nu apar. La OnGameModeInit am pus: for(new i = 1; i < sizeof(TurfInfo); i++) { Turfs = GangZoneCreate(TurfInfo[tMinX],TurfInfo[tMinY],TurfInfo[tMaxX],TurfInfo[tMaxY], TurfInfo[tNr], TurfInfo[tNrSize]); } In MYSQL log totu e ok. -> Poza: Am dat si in jos si m-am uitat si scrie ca totu e OK
-
Problema intalnita (descriere): Nu mi se incarca teritoriile. Ero(area / rile) / warning-(ul / urile): 0 Liniile de cod / sursa / script-ul: Am pus: forward LoadTurfs(); public LoadTurfs() { new tempp[124], TotalTurfs; cache_get_data(rows, fields); while(TotalTurfs < rows) { cache_get_row(TotalTurfs, 0, tempp), TurfInfo[TotalTurfs][tID] = strval(tempp); cache_get_row(TotalTurfs, 1, tempp), TurfInfo[TotalTurfs][tOwned] = strval(tempp); cache_get_row(TotalTurfs, 2, tempp), TurfInfo[TotalTurfs][tTime] = strval(tempp); cache_get_row(TotalTurfs, 3, tempp), TurfInfo[TotalTurfs][tMinX] = floatstr(tempp); cache_get_row(TotalTurfs, 4, tempp), TurfInfo[TotalTurfs][tMinY] = floatstr(tempp); cache_get_row(TotalTurfs, 5, tempp), TurfInfo[TotalTurfs][tMaxX] = floatstr(tempp); cache_get_row(TotalTurfs, 6, tempp), TurfInfo[TotalTurfs][tMaxY] = floatstr(tempp); cache_get_row(TotalTurfs, 7, tempp), TurfInfo[TotalTurfs][tNr] = strval(tempp); cache_get_row(TotalTurfs, 8, tempp), TurfInfo[TotalTurfs][tNrSize] = strval(tempp); TotalTurfs++; } printf("%d turfs loaded",TotalTurfs); return 1; } Si la 'ongamemodeinit' dupa conexiunea MYSQL am pus: mysql_function_query(handle, "SELECT * FROM `turfs`", true, "LoadTurfs", ""); * Folosesc MYSQL R34 Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
Salut, cum iau Systemu de WAR de la GameLife v1.6 si il bag in Pro-Gaming v4.6? Ma poate ajuta cineva? cum sa pun teritoriile sa se vada pe harta
-
Din pacate nu, Tu lai rezolvat?...Daca lar rezolva cineva si ar posta ar face un gest frumos!
-
Scuzati de x2 post..DAr nimeni?
-
Salut, in samp cumpar o casa cu comanda /buyhouse imi ia bani tot ce trebuie dar cand ies din ea scrie catot este de vanzare nu se schimba pickupu ramane asa...Ea arata ca e de vanzare dar defapt este a mea. Nu scrie akolo Propietaru apare de vanzare
-
nu merge...Ma poate ajuta altcineva?
-
nu merge...Altcineva ma poate ajuta?
-
Voi credeti ca comenzi ascunse sunt doar in gm?))) BUGUIT GM!
-
Scuzati dar aceasta este comanda: if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } if ((noooc) && PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GRAD2, " The OOC channel has been disabled by an Admin !"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, " You can't speak, you have been silenced !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } for(new i=0; i<MAX_PLAYERS; i++) if(FindIP(result)) /// { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "[Warning]: %s[iD: %d] face reclama ",advertiser,i); ABroadCast(COLOR_LIGHTRED,string,1); return 0; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/o)oc [ooc chat]"); return 1; } format(string, sizeof(string), "((Admin %s : %s ))",sendername, result); SendClientMessageToAll(COLOR_WHITE,string); printf("%s", string); } return 1; }
-
Este un bug enervant...toti playeri pot sa vorbeasca pe /o ...cum pot lasa decat admini? COMANDA; if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] > 0 ) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } if ((noooc) && PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GRAD2, " The OOC channel has been disabled by an Admin !"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { format(string, sizeof(string), "You can't speak, you have been silenced for %d seconds.",PlayerInfo[playerid][pMuteTime]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; result[0] = toupper(result[0]); if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/o)oc [ooc chat]"); return 1; } if(PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pHelper] == 0) { for(new i=0; i<MAX_ENTRY; i++) { if(!Swear[0]) continue; Cenzura(result,Swear); } } if(anty(result)) { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "GL BOT: {FFFF00}%s a primit Kick cu motivul: Reclama pe /o",advertiser); SendClientMessageToAll(COLOR_RED,string); Kick(playerid); return 0; } format(string, sizeof(string), "{FFFFFF}(( %s: %s ))", sendername, result); OOCOff(COLOR_OOC,string); printf("%s", string); } } return 1; }
-
Salut, Am gm PG v4.6 si nu stiu dece nu mi se salveaza skinurile...adika imi setez skinu si ramane asa dar daca ies si intru imi da alt skin!
-
Daca ai rezolva BUGU la masini ar fi super!
-
nu gasesc liniaa
-
Salut, Cum caut in gm sau cum pot gasi sa schimb stilul de mers!
-
Nici un raspuns? va rog ajutati-ma
-
Salut,La gm-ul lui DarkSone GameLife v1.6 dupa 2-3 zile apare un BUG...Mi se incurca idurile la masini...adika daca imi aiu 3 masini prima masina zice ca nu mai este a mea, daca iau un elegy si ii dau /v park se Transforma in NRG si tot asa...Cum pot rezolva asta?..Nu prea vreau sa schimb systemu de masini!
-
Salut,Ce gm credeti ca este mai bun si avansat cu mai putine buguri? 1.GameLife v1.6 2.After School v1.5 3.Pro-Gaming v4.6 Astept pareri!
-
Incearca sa iei o versiune mai noua la MYSQL..Deoarece versiunea pe care o ai tu la mysql este prea veche!
-
Este chiar foarte frumos Video-ul..Ai experienta;)