Jump to content

gamemode b-hood


BistyAdry

Recommended Posts

1. username: @BistyAdry

2. Creator/Editor: hpq123, iamcibu

3. Poze/Video:

 

 

 

 

4. Link virustotal: https://www.virustotal.com/gui/file/060c7b864b3b72855fd85a40fac1734852154df13803b20c7edfebbc56e47ebf/detection 

5. download:

gamemode b-hood.zip

6. alte precizări: bafta cu el.

Edited by BistyAdry
daca va arăta: unavailable trebuie sa vă faceți cont să-l puteți descărca.
Link to comment
Share on other sites

11 minutes ago, Mihaiandrey said:

si ce exact e nou fata de versiunea pusa de el ?

Nu știu exact, uitete și tu prin el, dacă vreți va pun versiunea de la HPQ: 

 

este destul de schimbată față de asta dar nu are bug-uri, pe când asta are ceva bug-uri are la sistemul de vip, plus inca 3-4

Link to comment
Share on other sites

On 10/17/2023 at 2:19 PM, blaNku99 said:

@BistyAdry te salut! Crezi ca imi poti spune si mie cum il pot deschide pe localhost? Am cautat in main mysql_connect. Sunt la inceput si imi tot fac si eu de lucru cu chestii din astea, imi place sa-mi mai omor timpul si nu prea am habar atat de mult inca. Mersi mult de tot de intelegere.

lasa-te daca nu le ai.

 

Link to comment
Share on other sites

On 10/17/2023 at 2:19 PM, blaNku99 said:

@BistyAdry te salut! Crezi ca imi poti spune si mie cum il pot deschide pe localhost? Am cautat in main mysql_connect. Sunt la inceput si imi tot fac si eu de lucru cu chestii din astea, imi place sa-mi mai omor timpul si nu prea am habar atat de mult inca. Mersi mult de tot de intelegere.

ai un fisier in "gamemode b-hood" numit mysql deschidel-l si pune acolo localhost, root si numele bazei de date.

Link to comment
Share on other sites

On 10/17/2023 at 2:19 PM, blaNku99 said:

@BistyAdry te salut! Crezi ca imi poti spune si mie cum il pot deschide pe localhost? Am cautat in main mysql_connect. Sunt la inceput si imi tot fac si eu de lucru cu chestii din astea, imi place sa-mi mai omor timpul si nu prea am habar atat de mult inca. Mersi mult de tot de intelegere.

Salut, ___sorin___ da-mi add pe discord si te invat eu, daca nu reusesti sa copiezi, numele e format din 3 underline-uri, " _ _ _" sorin si alte 3 underline-uri, ne vedem acolo

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
19 minutes ago, segmentationfault said:

da cati ani ai? ca aveam eu 14 in 2012 când aveam sa-mp.ro și nici nu mai țin minte cum arată pawn-ul.

22, aveam vreo 12 ani cand m am apucat sa "scriptez" in pawn, modificam mici texte, culori si usor usor am invatat.

Edited by AlexxAdv
Link to comment
Share on other sites

  • 3 months later...
On 5/22/2024 at 6:09 PM, mrbullet31 said:

Poate toata lumea sa dea /setadmin

Am dezactivat asta si acum nu merge compilat, imi spune ceva de BigInt include. Am include-ul dar nu merge compilat. Ma puteti ajuta?

cmd:setadmin(playerid, params[])
{
	//if(!IsAdmin(playerid, 6)) 
		//return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);

	extract params -> new player:id, adminlevel; else
		return SendClientMessage(playerid, COLOR_GREY, "Sintaxa: {FFFFFF}/setadmin <playerid/name> <Admin Level>");
	
	if(!IsPlayerConnected(id))
		return SendClientMessage(playerid, COLOR_GREY, "That user is not connected.");

	if(!IsPlayerLogged(id))
		return SendClientMessage(playerid, COLOR_GREY, "Player not logged.");

	if(adminlevel>7) return true;

	if(PlayerInfo[id][pAdmin]>6&&id!=playerid) return true;

	PlayerInfo[id][pAdmin] = adminlevel;
	SCMf(id, COLOR_YELLOW, "You've been promoted to level %d admin, by %s", adminlevel, GetName(playerid));
	format(gString, 128, "Admin %s set %s's admin level to %d.", GetName(playerid),GetName(id),adminlevel);
	SendAdminMessage(COLOR_YELLOW,gString,4);
	Iter_Remove(Staff<HELPER>, id);
	Iter_Add(Staff<ADMIN>, id);
	finishAchievement(id, 30);
 	if !adminlevel *then {
		PlayerInfo[id][pAW] = 0;
		UpdateVar(id, "AW", 0);
		if(SpecFaction[id]) {
			if(Iter_Contains(faction_players<SpecFaction[id]>, id)) Iter_Remove(faction_players<SpecFaction[id]>, id);
			SpecFaction[id] = 0;
		}
		StopFly(id);
		UsedFly[id] = 0;
		SetPlayerHealthEx(playerid, 100);
		Iter_Remove(faction_leaders, id);
		Iter_Remove(Staff<ADMIN>, id);
		if(PlayerInfo[id][pHelper]) Iter_Add(Staff<HELPER>, id);
		TextDrawHideForPlayer(playerid, ReportTD);
	}
	else if(Iter_Count(report_players)) TextDrawShowForPlayer(playerid, ReportTD);
	UpdateVar(id, "Admin", adminlevel);
	return true;
}

stock getCityEx(playerid) {
	if(IsPlayerInArea(playerid, -806, -3000, 3000.015625, 461.03515625)) return 1;
	else if(IsPlayerInArea(playerid, -805.015625, 460, 3000.00390625, 3000)) return 2;
	else if(IsPlayerInArea(playerid, -3000, -3000, -806, 3000)) return 3;
	return 0;
}

stock get_city_(Float:x,Float:y) {
	new const City[4][8] = {{"Unknown"}, {"LS"}, {"LV"}, {"SF"}};
	if(x>=-806&&x<=-3000&&y>=3000.015625&&y<=461.03515625) return City[1];
	else if(x>=-805.015625&&x<=460&&y>=3000.00390625&&y<=3000) return City[2];
	else if(x>=-3000&&x<=-3000&&y>=-806&&y<=3000) return City[3];
	return City[0];
}

stock GetCity(playerid) {
	new const City[4][8] = {{"Unknown"}, {"LS"}, {"LV"}, {"SF"}};
	return City[getCityEx(playerid)];
}

inlocuieste "cmd:setadmin(playerid, params[])
{
    //if(!IsAdmin(playerid, 6)) 
        //return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);"
cu
cmd:setadmin(playerid, params[])
{
    if(!IsAdmin(playerid, 6)) 
        return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);
si asa rezolvi, o sa poti da admin decat daca ai admin 6, succes.

Link to comment
Share on other sites

On 5/27/2024 at 10:55 PM, wick20051 said:
cmd:setadmin(playerid, params[])
{
	//if(!IsAdmin(playerid, 6)) 
		//return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);

	extract params -> new player:id, adminlevel; else
		return SendClientMessage(playerid, COLOR_GREY, "Sintaxa: {FFFFFF}/setadmin <playerid/name> <Admin Level>");
	
	if(!IsPlayerConnected(id))
		return SendClientMessage(playerid, COLOR_GREY, "That user is not connected.");

	if(!IsPlayerLogged(id))
		return SendClientMessage(playerid, COLOR_GREY, "Player not logged.");

	if(adminlevel>7) return true;

	if(PlayerInfo[id][pAdmin]>6&&id!=playerid) return true;

	PlayerInfo[id][pAdmin] = adminlevel;
	SCMf(id, COLOR_YELLOW, "You've been promoted to level %d admin, by %s", adminlevel, GetName(playerid));
	format(gString, 128, "Admin %s set %s's admin level to %d.", GetName(playerid),GetName(id),adminlevel);
	SendAdminMessage(COLOR_YELLOW,gString,4);
	Iter_Remove(Staff<HELPER>, id);
	Iter_Add(Staff<ADMIN>, id);
	finishAchievement(id, 30);
 	if !adminlevel *then {
		PlayerInfo[id][pAW] = 0;
		UpdateVar(id, "AW", 0);
		if(SpecFaction[id]) {
			if(Iter_Contains(faction_players<SpecFaction[id]>, id)) Iter_Remove(faction_players<SpecFaction[id]>, id);
			SpecFaction[id] = 0;
		}
		StopFly(id);
		UsedFly[id] = 0;
		SetPlayerHealthEx(playerid, 100);
		Iter_Remove(faction_leaders, id);
		Iter_Remove(Staff<ADMIN>, id);
		if(PlayerInfo[id][pHelper]) Iter_Add(Staff<HELPER>, id);
		TextDrawHideForPlayer(playerid, ReportTD);
	}
	else if(Iter_Count(report_players)) TextDrawShowForPlayer(playerid, ReportTD);
	UpdateVar(id, "Admin", adminlevel);
	return true;
}

stock getCityEx(playerid) {
	if(IsPlayerInArea(playerid, -806, -3000, 3000.015625, 461.03515625)) return 1;
	else if(IsPlayerInArea(playerid, -805.015625, 460, 3000.00390625, 3000)) return 2;
	else if(IsPlayerInArea(playerid, -3000, -3000, -806, 3000)) return 3;
	return 0;
}

stock get_city_(Float:x,Float:y) {
	new const City[4][8] = {{"Unknown"}, {"LS"}, {"LV"}, {"SF"}};
	if(x>=-806&&x<=-3000&&y>=3000.015625&&y<=461.03515625) return City[1];
	else if(x>=-805.015625&&x<=460&&y>=3000.00390625&&y<=3000) return City[2];
	else if(x>=-3000&&x<=-3000&&y>=-806&&y<=3000) return City[3];
	return City[0];
}

stock GetCity(playerid) {
	new const City[4][8] = {{"Unknown"}, {"LS"}, {"LV"}, {"SF"}};
	return City[getCityEx(playerid)];
}

inlocuieste "cmd:setadmin(playerid, params[])
{
    //if(!IsAdmin(playerid, 6)) 
        //return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);"
cu
cmd:setadmin(playerid, params[])
{
    if(!IsAdmin(playerid, 6)) 
        return SendClientMessage(playerid, COLOR_LGREEN, AdminOnly);
si asa rezolvi, o sa poti da admin decat daca ai admin 6, succes.

 

pai nu merge sa compilez, ce compiler sa folosesc. Nu merge nici cu pawno nici cu sublime, poate am omis eu ceva

Link to comment
Share on other sites

  • 1 month later...

Salutare! Are cineva idee de ce nu porneste?

 

in consola hostului apare asa:

----------
[Ultra-H.com] SA:MP Server #844 is starting...
----------

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[15:56:26] password = ""  (string)
[15:56:26] 
[15:56:26] Server Plugins
[15:56:26] --------------
[15:56:26]  Loading plugin: crashdetect.so
[15:56:26]   CrashDetect plugin 4.20
[15:56:26]   Loaded.
[15:56:26]  Loading plugin: mysql.so
[15:56:26]  >> plugin.mysql: R41-4 successfully loaded.
[15:56:26]   Loaded.
[15:56:26]  Loading plugin: streamer.so
[15:56:26] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[15:56:26]   Loaded.
[15:56:26]  Loading plugin: gvar.so
[15:56:26] 

*** GVar Plugin v1.3 by Incognito loaded ***

[15:56:26]   Loaded.
[15:56:26]  Loading plugin: pawnraknet.so
[15:56:26] [Pawn.RakNet] plugin v1.5.1 loading...
[15:56:26] [Pawn.RakNet] 

    | Pawn.RakNet 1.5.1 | 2016 - 2021
    |--------------------------------
    | Author and maintainer: katursis


    | Compiled: Sep 26 2021 at 08:32:38
    |--------------------------------------------------------------
    | Repository: https://github.com/katursis/Pawn.RakNet
    |--------------------------------------------------------------
    | Wiki: https://github.com/katursis/Pawn.RakNet/wiki

[15:56:26]   Loaded.
[15:56:26]  Loading plugin: pawncmd.so
[15:56:26] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[15:56:26]   Loaded.
[15:56:26]  Loading plugin: sscanf.so
[15:56:26] 

[15:56:26]  ===============================

[15:56:26]       sscanf plugin loaded.     

[15:56:26]          Version:  2.8.3        

[15:56:26]   (c) 2018 Alex "Y_Less" Cole  

[15:56:26]  ===============================

[15:56:26]   Loaded.
[15:56:26]  Loaded 7 plugins.

[15:56:26] 
[15:56:26] Filterscripts
[15:56:26] ---------------
[15:56:26]   Loading filterscript 'UltraHost.amx'...
[15:56:26]   Loaded 1 filterscripts.

[15:56:31]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[15:56:31] A aparut o eroare.
[15:56:31] Number of vehicle models: 0
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.