[GameMode] [GM] Goodfellas 3.0 Full Source
#21

Can you post the .amx file? please.


~Thank you.~
Reply
#22

Was working on this script a bit for a friend, main issues were lack of ';' character and using 'wtfman' in the database which had the wrong name.

Hope to save you guys a little time here Rapidshare.
Reply
#23

Could you post some info on it? I don't even know what part of SA it's based in if not all of it.
Reply
#24

Sorry guys, I'm very much out of the SAMP world, which is why I posted a link to my site if you need information on the script. Your best bet to contact me is via the forums on CCN. I'm not really going to be checking up on here. Sorry!
Reply
#25

Hi guys, I'm having problems with the current gangmenu system, I've been acheing to get it fixed, any help would be appreciated,

When I make myself a gang leader using /makegleader command, I find an HQ, then purchase it. When I /gangmenu at my HQ, and try to change my gang's name, it says "You are not the leader, Jeff (Me) is.", It's the same with setting the tax, the problem I'm getting is this code:

Code:
if(strcmp(GangInfo[g][hqOwner], wstring, true) == 0 || GangInfo[g][hqGang] == PlayerInfo[playerid][pMember] && PlayerInfo[playerid][pRank] <= 2 || PlayerInfo[g][pLeader] == GangInfo[g][hqGang])
 				{
					new cashMoney = PlayerInfo[playerid][pCash];
					if(cashMoney >= 50000)
					{
						strmid(GangInfo[g][hqName], text, 0, strlen(text), 255);
						PlayerChangingGangName[playerid] = 0;
						format(string, sizeof(string), "You have renamed your gang to %s. ", text);
						
						new money = 50000;
						ConsumingMoney[playerid] = 1;
						GivePlayerMoney(playerid, (0 - money));
						PlayerInfo[playerid][pCash] -= money;
						
							
						
						SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
						ShowMenuForPlayer(ghqMenu0,playerid);
						gangRecordUpdate();
						return 0;
					}
					else
					{
						PlayerChangingGangName[playerid] = 0;
						SendClientMessage(playerid, COLOR_LIGHTBLUE,"You can't afford to change your name.");
						TogglePlayerControllable(playerid,1);
						return 0;
					}
				}
				else // <------------------------     I'm the owner of the HQ, I'm rank 1, I'm the leader of the gang. And it just won't let me change the name D:
				{
 					format(string, sizeof(string), "You are not the leader, %s is.",wstring);
 					PlayerChangingGangName[playerid] = 0;
	 				SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
	 				TogglePlayerControllable(playerid,1);
	 				return 0;
				}
I looked at the "access safe code" because it lets me access the safe and I thought maybe I can get the safe code and replace the if(strcmp(GangInfo[g][hqOwner], wstring, true) == 0, etc etc etc) and all that crap with the safe's. Because it's letting me access the safe, but not change the gang name, or set the tax. The code looked like this now:

Code:
if(strcmp(GangInfo[g][hqOwner], wstring, true) == 0 || GangInfo[g][hqGang] == PlayerInfo[playerid][pMember] && PlayerInfo[playerid][pRank] <= 2)
 				{
					new cashMoney = PlayerInfo[playerid][pCash];
					if(cashMoney >= 50000)
					{
						strmid(GangInfo[g][hqName], text, 0, strlen(text), 255);
						PlayerChangingGangName[playerid] = 0;
						format(string, sizeof(string), "You have renamed your gang to %s. ", text);
						
						new money = 50000;
						ConsumingMoney[playerid] = 1;
						GivePlayerMoney(playerid, (0 - money));
						PlayerInfo[playerid][pCash] -= money;
						
							
						
						SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
						ShowMenuForPlayer(ghqMenu0,playerid);
						gangRecordUpdate();
						return 0;
					}
					else
					{
						PlayerChangingGangName[playerid] = 0;
						SendClientMessage(playerid, COLOR_LIGHTBLUE,"You can't afford to change your name.");
						TogglePlayerControllable(playerid,1);
						return 0;
					}
				}
				else
				{
 					format(string, sizeof(string), "You are not the leader, %s is.",wstring);
 					PlayerChangingGangName[playerid] = 0;
	 				SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
	 				TogglePlayerControllable(playerid,1);
	 				return 0;
				}
I compile it, restart the server, test it, and STILL the same problem. I need help .

















EDIT: NEVERMIND! I found out the bug. You need to be INSIDE the HQ, then /gangmenu, otherwise it won't work.
Reply
#26

Quote:
Originally Posted by skylord
Quote:
Originally Posted by skylord
Credits to Violent Dave

RapidShare
Mediafire
MegaUpload
Can someone help me with my errors?
edit: never mind, fixed
Reply
#27

Hello, i've got the script ready to work with a mysqldatabase ready on a dedicated server.... does it work on linux ?

what's the samp mysql.dll for ??
Reply
#28

how large is this? pastebin can only store up to 8000 I think
Reply
#29

I have fixed the missing ';' symbos, but now When I start my server it crashes. Why?
Reply
#30

Is it Alright if you upload this
Reply
#31

Quote:
Originally Posted by Shady91
code looks a bit like a little edit of the PENLS
...It was released in 2008.
Reply
#32

Quote:
Originally Posted by FreddoX [BINMAN
]
Quote:
Originally Posted by Shady91
code looks a bit like a little edit of the PENLS
...It was released in 2008.
o lmao sorry didn't see it, also only 3 pages of reply's over 2 years ouch thats pissed.
Reply
#33

Can someone release v4.0 JK
But 4.0 is the best. I am investing in 4
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)