[GameMode] California Cops and Robbers 0.3.7 (Fully MySQL+UCP) (Lot of Features) (Minigames)

Nice work X337, much effort put into it!
Reply

i well be re uploading a mirror for this game mode i hope it works this time and then my good freind and bro X337 can update the link on the frist page, please note that all of samp-server.exe samp-npc.exe and announce.exe well all be remove from the game mode files to get them please download samp 0.3.7 from here https://www.sa-mp.com/download.php and here is the mirror for this game mode one more time, http://www.mediafire.com/file/fauf2j...nigames%29.rar if they remove it this time i dont know what to tell you guys and iam sooooo ever sorry it's taking this long to upload it i hope they dont remove it this time, if they do then i try.
Reply

the link as been given back by me and my good freind and bro X337 has update his post, remember i have remove all of the exe files so it should be ok now, again if mediafire removes it again i dont know what to tell you, so get it before they remove it again, is all i can say i hope you guys enjoin this, and note i was not the one that create this X337 did, and for some one who has a lot of game modes let me be the frist to tell you, this one is dam nice, if you have any trouble setting it up remember that the define.inc need to have the MySQL info on there two times not one, and remember you can not evening run this server with out a MySQL server, i well say that again, you can not evening run this server with out a MySQL server it just well not run at all, the define.inc can be found in CNRSF\pawno\include\cnr i have not change any thing in the gm the only thing i did was, remove all of the exe files samp-server.exe samp-npc.exe and announce.exe, you can download them and samp 0.3.7 at https://www.sa-mp.com/download.php thanks again guys and enjoin it.
Reply

Nice gm
Reply

ijin edit coeg gw mau ganti map nya ke LS :v udah pusing gw gm rp :v move on ke cnr :v
Reply

Mysql_Connect
Code:
public OnGameModeInit()
{
	mysql_log(LOG_ERROR | LOG_WARNING, LOG_TYPE_HTML);
	if(fexist("LOCALHOST")) 
	{
		koneksi		=	mysql_connect(HOST, USER, DBNAME, PASSWORD);
		forum		=	mysql_connect(HOST, USER, FORUMDB, PASSWORD);
	}
if folder exist, name "LOCALHOST" {...}
Create the Folder "LOCALHOST" in Scriptfiles
Reply

So You Have Right At The Remain Silence?
Reply

Please Msql not marched And UCP I dont stying Like that
Reply

Quote:
Originally Posted by XpiTa
View Post
Please Msql not marched And UCP I dont stying Like that
iam sorry but what? i have add all of the mysql and UCP files to the winrar files they should all be there, the only things that i have not add was the exe files you can down load them your self by going to http://www.sa-mp.com/download.php other then that i dont know, if you follow the steps i show you it should work just find.
Reply

how can i connect the Gamemode upto the database? can u help please

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[12:26:08] filterscripts = "" (string)
[12:26:09]
[12:26:09] Server Plugins
[12:26:09] --------------
[12:26:09] Loading plugin: crashdetect
[12:26:09] CrashDetect v4.15.1 is OK.
[12:26:09] Loaded.
[12:26:09] Loading plugin: sscanf
[12:26:10]

[12:26:10] ===============================

[12:26:10] sscanf plugin loaded.

[12:26:10] Version: 2.8.1

[12:26:10] © 2012 Alex "Y_Less" Cole

[12:26:10] ===============================

[12:26:10] Loaded.
[12:26:10] Loading plugin: streamer
[12:26:10]

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

[12:26:10] Loaded.
[12:26:10] Loading plugin: MapAndreas
[12:26:10] Loaded.
[12:26:10] Loading plugin: mysql
[12:26:11] >> plugin.mysql: R39-2 successfully loaded.
[12:26:11] Loaded.
[12:26:11] Loading plugin: Whirlpool
[12:26:11]
[12:26:11] ==================
[12:26:11]
[12:26:11] Whirlpool loaded
[12:26:11]
[12:26:11] ==================
[12:26:11]
[12:26:11] Loaded.
[12:26:11] Loading plugin: socket
[12:26:12] Socket plugin v0.2b loaded.
[12:26:13] Loaded.
[12:26:13] Loaded 7 plugins.

[12:26:13]
[12:26:13] Filterscripts
[12:26:13] ---------------
[12:26:13] Loaded 0 filterscripts.

[12:26:15]
[12:26:15]
[12:26:15]
[12:26:15] =======================================
[12:26:15] | |
[12:26:15] | YSI version 4.00.0001 |
[12:26:15] | By Alex "Y_Less" Cole |
[12:26:15] | |
[12:26:15] =======================================
[12:26:15]
[12:26:15] Mysql Status :

[12:26:35] GPS System Loaded...
[12:26:35] --------------------------------------

[12:26:36]
-----------------------------------------
[12:26:36] California Cops and Robbers by Bondowocopz
[12:26:36] -----------------------------------------

[12:26:36] Number of vehicle models: 130

how to fix please help
Reply

Quote:
Originally Posted by killerjam
View Post
how can i connect the Gamemode upto the database? can u help please

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[12:26:08] filterscripts = "" (string)
[12:26:09]
[12:26:09] Server Plugins
[12:26:09] --------------
[12:26:09] Loading plugin: crashdetect
[12:26:09] CrashDetect v4.15.1 is OK.
[12:26:09] Loaded.
[12:26:09] Loading plugin: sscanf
[12:26:10]

[12:26:10] ===============================

[12:26:10] sscanf plugin loaded.

[12:26:10] Version: 2.8.1

[12:26:10] © 2012 Alex "Y_Less" Cole

[12:26:10] ===============================

[12:26:10] Loaded.
[12:26:10] Loading plugin: streamer
[12:26:10]

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

[12:26:10] Loaded.
[12:26:10] Loading plugin: MapAndreas
[12:26:10] Loaded.
[12:26:10] Loading plugin: mysql
[12:26:11] >> plugin.mysql: R39-2 successfully loaded.
[12:26:11] Loaded.
[12:26:11] Loading plugin: Whirlpool
[12:26:11]
[12:26:11] ==================
[12:26:11]
[12:26:11] Whirlpool loaded
[12:26:11]
[12:26:11] ==================
[12:26:11]
[12:26:11] Loaded.
[12:26:11] Loading plugin: socket
[12:26:12] Socket plugin v0.2b loaded.
[12:26:13] Loaded.
[12:26:13] Loaded 7 plugins.

[12:26:13]
[12:26:13] Filterscripts
[12:26:13] ---------------
[12:26:13] Loaded 0 filterscripts.

[12:26:15]
[12:26:15]
[12:26:15]
[12:26:15] =======================================
[12:26:15] | |
[12:26:15] | YSI version 4.00.0001 |
[12:26:15] | By Alex "Y_Less" Cole |
[12:26:15] | |
[12:26:15] =======================================
[12:26:15]
[12:26:15] Mysql Status :

[12:26:35] GPS System Loaded...
[12:26:35] --------------------------------------

[12:26:36]
-----------------------------------------
[12:26:36] California Cops and Robbers by Bondowocopz
[12:26:36] -----------------------------------------

[12:26:36] Number of vehicle models: 130

how to fix please help
Within define.inc.Change hos 2 or db2 to your MySQL settings and then,compile with your Gamemode.it gonna work and also import your database file in phpmyadmin.

If I helped you.Please give me rep
Reply

my gamemode is not showing this much how to fix this help me please
Reply

which is database files tell me please
Reply

can someone set it up for me ?
Reply

I hoasting the server if anyone wants to come and play the ip is 82.15.175.47:7777 the server is up most of the time. so enjoy and good gamemode
Reply

http://imgur.com/a/9mqu4 Please help him after this continue what else gan
Reply

This is a post to help out who may need it "If your database is not connecting"
Try This: in .../define.inc

Use the first and the second MySQL setting, it doesnt matter if your server has custom users and passwords. All you need to do is set it up like this:

Worked well for me after countless retries.
Reply

@X337

CREATE DEFINER=`root`@`localhost` FUNCTION `time_function`(`ATIME` DATETIME) RETURNS varchar(100) CHARSET latin1
BEGIN
DECLARE INF VARCHAR(100);
DECLARE NWT VARCHAR(100);
DECLARE TAG TINYINT;

SET TAG = 0;
SET INF = DATE_FORMAT(ATIME, "%Y%m%d%H%i%s");
SET NWT = DATE_FORMAT(NOW(), "%Y%m%d%H%i%s");


IF (INF = NWT) THEN
SET INF = 'Just a moment';
SET TAG = 1;
END IF;



IF (SUBSTR(INF, 1, 12) = SUBSTR(NWT, 1, 12)) AND (TAG = 0) THEN
SET INF = CONCAT(SUBSTR(NWT, 13, 2) - SUBSTR(INF, 13, 2), ' seconds ago');
SET TAG = 1;
END IF;


IF (SUBSTR(INF, 1, 10) = SUBSTR(NWT, 1, 10)) AND (TAG = 0) THEN
SET INF = CONCAT(SUBSTR(NWT, 11, 2) - SUBSTR(INF, 11, 2), ' minutes ago');
SET TAG = 1;
END IF;



IF (SUBSTR(INF, 1, = SUBSTR(NWT, 1, ) AND (TAG = 0) THEN
SET INF = CONCAT(SUBSTR(NWT, 9, 2) - SUBSTR(INF, 9, 2), ' hours ago');
SET TAG = 1;
END IF;


IF (SUBST[...]
MySQL menyatakan:

#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
Reply

@X337
Reply

WoW It's Really Perfect ! ! ! +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)