PDA

View Full Version : [GameMode] [GM] QBase RolePlay Based On ModernTopia Script


FrankQ
30/11/2008, 10:15 PM
Actually this script is edit of moderntopia script,
Well I post it as Version 1.0 for now,
with that I have to mention that I post the script only to help beginners scriptwriters.
I saw a lot of people that requires some bug fixes from Moderntopia,
So here it is, I fixed most all the bugs!!

CREDITS:
For ModernTopia Scriptwriters:
by Novice, Luk0r, Shehab, Ehren
* based on the original Godfather script by FeaR
For: LordMan, From QBase team for all the bug fixes.

The original script of ModernTopia, can be found here:
http://forum.sa-mp.com/index.php?topic=40077.0

IMPORTANT:
To compile and run the script on your game server, you're going to need MySQL,
With you have to know the basic understanding of already!

Here's a quickly tutorial on how setup the server by Webflashing:


Ok everybody, as i'm seeing that ALMOST EVERYONE on this topic has a problem with the MYSQL stuff, i'll write a *little* tutorial on how making this script work.

1.- First, download the script from here
http://www.sendspace.com/file/suliqy
Now that you have the script, let's focus on the MYSQL thing.

2.- Next thing to do is to download the MYSQL plugin. As the package was too
heavy, i repacked it with the necessary files ONLY.
You can download it from here
http://www.sendspace.com/file/v5aazt
3.- Now that you have the package, INSIDE it, you will find that the files are
already in their own folders, the ONLY thing you should do now is copy the
content of the .RAR into your server's folder. And after that, you should
open your server.cfg and add the line plugins sampmysql at the end
of the file.
Edit:
Now put the *.inc* file on the includes folders of the pawno.
That should fic the error that some of you were having.

4.- Ok, that was easy until now. This step is going to explain HOW TO set up a
MYSQL server...
5.- First, you will need to download XAMPP (This will be your Mysql server...)

http://ufpr.dl.sourceforge.net/sourceforge/xampp/xampp-win32-1.6.6a-installer.exe

After you download it, you sholud install it with the Apache and
PhpMyAdmin features (asked on the installer).
6.- Ok, now after the installation the Mysql server should be running, the only
thing you have to do is to enter http://localhost/xampp and select
the link that says "PhpMyAdmin". Once you clicked on it, you should see a
new page, where there is a lot of stuff.
7.- As i'm not in my computer, I dont really remember how, ut it should be a
textbox somewere where you create a un database. In that textbox, you
should write SAMP, and then click on the button "create" (or something like
that). Once donde this, on the left panel, it should appear now the text
"samp (0)". That means it has 0 tables inside. So now, let's click on the
"samp (0)" link, and then on the right panel, on the top, we should clik
"Import". Here is where we search for the database which comes with the
script, and the we import it.

Ok, by doing this, you just run the server and it should work. Any question, please ask. And remember, the script has too many bugs, if someone WANTS to start fixing them, you'l count with me, cause i'm trying to make the same.



All ModernTopia script fixes in this release made by LordMan,
Here all the fixes QBase Team fixed on the script:
=============================================
FIXES:

-Waiters Job, Fully Fixed - Added.
-Trucker Job, Fully Fixed - Added.
-Hobo Job, Fixed partially - Added.
-Paper Boy Job, Fully Fixed.
-News Reporter Job, Fully Fixed.
-Car Mechanic Job - Added Mechanic Cars, Job pickup position changed.
-Bar Drinks Added.
-Character Selection Added.
-Bank Location Changed to normal.
-Each "Came from city's" spawn you in variety places.
-Detective skill added to command "/skill".
-Drugs Dealer Job Fixed.
-All SAPD(LSPD+SFPD) Commands Fully Fixed.
-Paramedic Commands Fully Fixed.
-Car Dealer job = FIXED.
-Pizza deliver = FIXED.
-Bus driver = FIXED.
-Now You can get more packages (Arms Dealer Job) but you only hold the maximum 10.
-All pickups messages Fixed.
-News Reporter,Paper Boy Jobs,Factions Placed in Los Santos!
-All Car Dealer Ship has been removed, since it's totally bugged!
-You can NOT buy packages more times (materials) but you are actually only holding 10 packages. On when you deliver it says you've delivered the 10 packages in exchange for 500 mats.
-/lock Command Fixed.
-Now when you enter to a Boat/Plane without licenses you have to buy the license first before you can drive on the Boat/Plane.
-FIXED = FLYING + SAILING TEST LICENSE ( Added the buying license system).
-ADDED = Jef Motel for beginers that started to play
-ADDED = ATM SYSTEM
-ADDED = CARS & BOATS & PLANES
-ADDED = CARS STARTS WITH ENGINE
-ADDED = ANIMATIONS (ANIMLIST+STOPANI)
-ADDED = LSPD GATES
-ADDED = ADMIN COLOURS EACH LEVEL
-ADDED = SAILING/FLYING LICENSES(YOU CAN BUY IT NOW AND NO MORE TESTS!)
-ADDED = SF POLICE DEPARTMENT

And a lot more of fixes i have made on this script for 3 months i already spent doing that fixes.

Here Bug List For Now:
-Can't find way how to add House Cars.

Here's the download,
Mirror 1: http://rapidshare.com/files/168995242/QBase_Edit_Of_ModernTopia.rar

Enjoy!!! QBase Team. ;] :-[

tehcudguy
30/11/2008, 10:16 PM
nice, 3 months of work
There has to be some changes :P

Loyal
30/11/2008, 10:19 PM
nice, 3 months of work
There has to be some changes :P
All the bugs you said were fixed, were already fixed though.

FrankQ
30/11/2008, 10:19 PM
nice, 3 months of work
There has to be some changes :P

Yup, how the time is passing by..
That script have a lot of changes by cool staff ;]

RAEN
01/12/2008, 02:32 AM
please mirror: gamemode + scriptfiles (only this files) please!!!

Morm0n
01/12/2008, 04:00 AM
nice, 3 months of work
There has to be some changes :P

Yup, how the time is passing by..
That script have a lot of changes by cool staff ;]


Go fix the bugs!

romeotheboss
01/12/2008, 08:43 AM
great job!i at last the bugs are fixed :lol: :roll:









RESPECT ;)

babbormaker
01/12/2008, 11:17 AM
Good Job Team !!
Thanks=[unlimited]
good work...=)

babbormaker
01/12/2008, 11:39 AM
oh,
server didn't respond

RAEN
01/12/2008, 12:30 PM
please mirror: gamemode + scriptfiles (only this files) please!!!
PLEASE~~~~~

dllmaker
01/12/2008, 12:38 PM
not bad not bad. :)

renan32
01/12/2008, 02:59 PM
hey

where is the script files and filterscript files ?

FrankQ
01/12/2008, 03:15 PM
Oh here is the filterscripts+scriptfiles,
http://rapidshare.com/files/169194207/QBase.rar
:P

Landon
01/12/2008, 03:34 PM
When i try to upload the gamemode i see this:

MySQL retourneerde:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'แถ&' at line 1

Help ;(

inks88
01/12/2008, 08:41 PM
Why don't i have character selection?

Landon
02/12/2008, 06:37 AM
Because you need to have MySQL,

I got it but i get an error when i try to import the gamemode.

FrankQ
02/12/2008, 12:02 PM
what error you get ?

hokins
02/12/2008, 03:24 PM
Thanks! I Was Looking For A Tutorial That Teaches How To Run MySql Server ;) Got It Running.. Now Testing it and starting to edit the script into my languange :)
Many Thanks.. I am beginner at scripting and adminning but i think i can handle it . I will post my help requests Into this thread.

BTW : Heres what it shows on the Server Window: Error in mysql_query: Unknown column 'Deagle' in 'field list'


EDIT: How do i make myself Admin in Mysql??

dllmaker
02/12/2008, 10:20 PM
Thanks! I Was Looking For A Tutorial That Teaches How To Run MySql Server ;) Got It Running.. Now Testing it and starting to edit the script into my languange :)
Many Thanks.. I am beginner at scripting and adminning but i think i can handle it . I will post my help requests Into this thread.

BTW : Heres what it shows on the Server Window: Error in mysql_query: Unknown column 'Deagle' in 'field list'


EDIT: How do i make myself Admin in Mysql??

rcon login the easy way
the /makeadmin

Unwritten
03/12/2008, 09:52 AM
hi, Paramedic Commands still bug, do not work for me

hokins
03/12/2008, 04:35 PM
No.. I could login with /rcon but could not use /makeadmin.. So i went to SQL ,phpMyAdmin, selected sa-mp, selected Players, edited my char and i got Admin at least :)

But what is the Max Admin Level? I set myself to 3, but i cant use cmd /givemoney for example.

Unwritten
03/12/2008, 05:30 PM
Hi, how i can fix medic commands, i try to join in medic cars and hes boot me, can't heal, etc,
please tell me

Landon
03/12/2008, 05:37 PM
Can you made a QBase Roleplay gamemode without MySQL? Thanks :)

Think
03/12/2008, 05:52 PM
Upload @ speedyshare.com and mediafire.com > faster downloads and no waiting time like rapidcrap + pastebin it ;) <

James_Alex
04/12/2008, 01:11 PM
Cool
thank's FrankQ

FrankQ
04/12/2008, 06:29 PM
Upload @ speedyshare.com and mediafire.com > faster downloads and no waiting time like rapidcrap + pastebin it ;) <

I will when i have time for that, if you can do it it's will be wonderful ;]

FrankQ
04/12/2008, 06:30 PM
Hi, how i can fix medic commands, i try to join in medic cars and hes boot me, can't heal, etc,
please tell me

to make Medic fully working u have to do this:
Make your self leader as the paramedic
With that to make yourself with the job of Medic.

Then all cmds of paramedic/medic man will work...;]

Unwritten
04/12/2008, 07:03 PM
im try to take a ambulance and says im not a member of the SAMD, and i am the leader

and commands /d not found.

Benjamin5
09/12/2008, 12:30 AM
Hi, when i will Compile the Mod than i become this message:
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(10776) : error 021: symbol already defined: "strtok"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(10791) : error 047: array sizes do not match, or destination array is too small
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11720) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11788) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11797) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11821) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11830) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11856) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(11892) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(12585) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(12858) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(12891) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(13456) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(14622) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(14673) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(14730) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(14782) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(15174) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(15373) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(16673) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(17179) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(17251) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(18746) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(19098) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(19279) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(19348) : error 017: undefined symbol "ReturnUser"
C:\Dokumente und Einstellungen\Benjamin\Desktop\samp\samp02Xsvr\sam p02X\gamemodes\mtrp-final.pwn(19462) : error 017: undefined symbol "ReturnUser"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Can you Help me?

CaptainCarl
09/12/2008, 04:48 PM
Is the Qbase Account linking still in the code? Or is it removed?


And my server console keeps getting spammed with the deagle-something-field?

FrankQ
09/12/2008, 06:46 PM
Here Fix For The "Deagle" Spam,
Start you 'MySql' then go to the local host browser (http://localhost/ or http://localhost/phpmyadmin/).
Now after you did that go to the "samp" and go to the "players" table,
then add 7 fields to the list with this information blew:
Deagle, Shotgun, Rifle, SDPistol, MP5, M4, AK47 - With "Type" OF "int(11)" - And "Default" Of 0


Hobo Job Now Fully Fixed:
Here's the fix,
if(strcmp(x_job,"beg",true) == 0)
{
if(BegOffer[playerid] < 999)
{
if(IsPlayerConnected(BegOffer[playerid]))
{
if(GetPlayerMoney(playerid) > BegPrice[playerid])
{
GetPlayerName(BegOffer[playerid], giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* You gave $%d %s, God bless you.",BegPrice[playerid],giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* You recieved $%d from %s, Dance for him.",BegPrice[playerid],sendername);
SendClientMessage(CarOffer[playerid], COLOR_LIGHTBLUE, string);
PlayerInfo[BegOffer[playerid]][pPayCheck] += BegPrice[playerid];
SafeGivePlayerMoney(playerid, -BegPrice[playerid]);
SafeGivePlayerMoney(BegOffer[playerid], BegPrice[playerid]);
BegOffer[playerid] = 999;
BegPrice[playerid] = 0;
return 1;
}

CaptainCarl
10/12/2008, 08:43 AM
Thanks Frank, much appreciated!

yom
18/12/2008, 08:47 PM
Lol, 3 months for fixing bugs. You could write a whole new gamemode (not a lazy edit of an edit of an edit..of an edit) in less than this :roll:

babbormaker
18/12/2008, 09:48 PM
can u gimme the SQL files to Linux ?

Coicatak
19/12/2008, 06:22 PM
Can you made a QBase Roleplay gamemode without MySQL? Thanks :)

Yes it would be great..

Else, did you just fixed MTRP bugs or you added other features?

Sergei
19/12/2008, 06:56 PM
Can you made a QBase Roleplay gamemode without MySQL? Thanks :)

Yes it would be great..

Moderntopia is edited GF to work with MySQL. If you want to use script without MySQL use one of GF edits without MySQL.

babbormaker
19/12/2008, 08:25 PM
i gotta linux ftp
and tried to use SQL files:-
apartments,apartments,apartments.MYI,bans,bans,ban s.MYI,bizz,cars,families,fgates,logins,points
all that in : C:\xampp\mysql\data\samp
it for windows !
can i have it for linux ?

Sergei
19/12/2008, 09:42 PM
You need to import *.sql via phpMyAdmin (you have it probably) and then you need to write database details in *.pwn file and compile it.

babbormaker
21/12/2008, 08:47 AM
can u help ?

Sergei
21/12/2008, 09:04 AM
Do you have phpMyAdmin? If so, then login, create new database, click tab "Import" and select *.sql file which you get in QBase script package. Then confirm and phpMyAdmin will extract that in database.
Open *.pwn file and find 4 lines in which you insert MySQL details (you can search for "127.0.0.1" and you will find, or just look at lines near the start of file). Type in mysql address, username, password and database name and compile file.

Copy *.amx to gamemodes folder (don't forget about scriptfiles), configure server.cfg and start server.

babbormaker
22/12/2008, 08:13 AM
THANKS DUDE !!!!!!!!!!!!!!!!!!!!!!1
it works :D:D:D:D:D :D :D :D :D :D :D :lol:

babbormaker
22/12/2008, 10:07 AM
sorry :'(
another problem :S
in sa-mp:
gamemode: unknown
and the server don't work

toksiks
22/12/2008, 07:45 PM
Thanks man , all works for me.

But i don't understand how to fix that deagle spam bug, im not enough good in MySQL :D

Sergei
22/12/2008, 08:18 PM
sorry :'(
another problem :S
in sa-mp:
gamemode: unknown
and the server don't work

You need to change gamemode name in server.cfg


Thanks man , all works for me.

But i don't understand how to fix that deagle spam bug, im not enough good in MySQL :D

Play with phpMyAdmin a bit. You can check phpMyAdmin manual ;)

babbormaker
22/12/2008, 08:33 PM
can we talk in msn !
i have edited the gamemode name in server.cfg, uploaded all files, don't work

Sergei
22/12/2008, 09:33 PM
Did you compile *.pwn, so you have *.amx file now?

babbormaker
22/12/2008, 09:49 PM
ye,
and fills :-
#define MYSQL_HOST "localhost"
#define MYSQL_USER "*****"
#define MYSQL_PASS "******"
#define MYSQL_DB "******_****"


*=name or pass



i don't know what the problem now, deleted files, and uploaded everything agin, upload scriptfiles and all, still don't work

infex
22/12/2008, 10:55 PM
I have a error, help me please... I start the server but if somebody write in the server, appears that error http://img227.imageshack.us/img227/1479/errortb0.th.png (http://img227.imageshack.us/my.php?image=errortb0.png)

What is ? :(

toksiks
23/12/2008, 07:53 AM
infex few posts back there was tutorial how to take it down.

babbormaker
23/12/2008, 08:01 AM
help me ?

Serbyyyy
23/12/2008, 02:12 PM
you clicked on it, you should see a
new page, where there is a lot of stuff.
7.- As i'm not in my computer, I dont really remember how, ut it should be a
textbox somewere where you create a un database. In that textbox, you
should write SAMP, and then click on the button "create" (or something like
that). Once donde this, on the left panel, it should appear now the text
"samp (0)". That means it has 0 tables inside. So now, let's click on the
"samp (0)" link, and then on the right panel, on the top, we should clik
"Import". Here is where we search for the database which comes with the
script, and the we import it.

Ok, by doing this, you just run the server and it should work. Any question, please ask. And remember, the script has too many bugs, if someone WANTS to start fixing them, you'l count with me, cause i'm trying to make the same.



All ModernTopia script fixes in this release made by LordMan,
Here all the fixes QBase Team fixed on the script:
=============================================
FIXES:

-Waiters Job, Fully Fixed - Added.
-Trucker Job, Fully Fixed - Added.
-Hobo Job, Fixed partially - Added.
-Paper Boy Job, Fully Fixed.
-News Reporter Job, Fully Fixed.
-Car Mechanic Job - Added Mechanic Cars, Job pickup position changed.
-Bar Drinks Added.
-Character Selection Added.
-Bank Location Changed to normal.
-Each "Came from city's" spawn you in variety places.
-Detective skill added to command "/skill".
-Drugs Dealer Job Fixed.
-All SAPD(LSPD+SFPD) Commands Fully Fixed.
-Paramedic Commands Fully Fixed.
-Car Dealer job = FIXED.
-Pizza deliver = FIXED.
-Bus driver = FIXED.
-Now You can get more packages (Arms Dealer Job) but you only hold the maximum 10.
-All pickups messages Fixed.
-News Reporter,Paper Boy Jobs,Factions Placed in Los Santos!
-All Car Dealer Ship has been removed, since it's totally bugged!
-You can NOT buy packages more times (materials) but you are actually only holding 10 packages. On when you deliver it says you've delivered the 10 packages in exchange for 500 mats.
-/lock Command Fixed.
-Now when you enter to a Boat/Plane without licenses you have to buy the license first before you can drive on the Boat/Plane.
-FIXED = FLYING + SAILING TEST LICENSE ( Added the buying license system).
-ADDED = Jef Motel for beginers that started to play
-ADDED = ATM SYSTEM
-ADDED = CARS & BOATS & PLANES
-ADDED = CARS STARTS WITH ENGINE
-ADDED = ANIMATIONS (ANIMLIST+STOPANI)
-ADDED = LSPD GATES
-ADDED = ADMIN COLOURS EACH LEVEL
-ADDED = SAILING/FLYING LICENSES(YOU CAN BUY IT NOW AND NO MORE TESTS!)
-ADDED = SF POLICE DEPARTMENT

And a lot more of fixes i have made on this script for 3 months i already spent doing that fixes.

Here Bug List For Now:
-Can't find way how to add House Cars.

Here's the download,
Mirror 1: http://rapidshare.com/files/168995242/QBase_Edit_Of_ModernTopia.rar

Enjoy!!! QBase Team. ;] :-[
[/quote]
I don't understand how to make the database to work please some help :(

babbormaker
23/12/2008, 10:40 PM
guys help

Sergei
23/12/2008, 11:02 PM
If you don't know how to use MySQL you can check one of 99999999999999 internet manuals (same with phpmyadmin).

toksiks
24/12/2008, 09:38 AM
Sergiy if you are so smart, then stop spamming and really help us like with tutorial.

babbormaker
24/12/2008, 07:36 PM
yup, help us !!

Brandon_Brown
24/12/2008, 07:37 PM
Nice Gamemode

Timarcal
25/12/2008, 03:08 PM
The LSPD Gate dont opened when i get close to it with police char...
How can i see the fuel of the car if the ATM SYSTEM is in the place of the Fuel System?

Serbyyyy
25/12/2008, 05:00 PM
so,cand some one help me with the database? please :'(

babbormaker
25/12/2008, 09:39 PM
can someone help with Linux database

EastCoast
26/12/2008, 07:55 PM
Hmmmm, nice one.
Though I don't know shit about MySQL.

racka
26/12/2008, 08:58 PM
[21:51:30] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
PLS HELP PLSSSSS

Coicatak
28/12/2008, 02:34 PM
[21:51:30] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
PLS HELP PLSSSSS

Install MySQL plugin.

Question: How to make a UCP linked to the SQL server please?

EastCoast
28/12/2008, 06:23 PM
Just a question; why the hell do you always make Aztecas spawn in Sevile or Market ?
Just wondering, the last script I REALLY used I had to edit the spawn place and the cars and also the damn HQ, though it's very simple but still kinda wierd, I think they should spawn in El Corona. :roll:

toksiks
04/01/2009, 06:15 PM
Can someone help me to fix that spam message with ''deagle'' ? ;)

FlashInTheNighT
04/01/2009, 06:52 PM
http://forum.sa-mp.com/index.php?topic=40077.msg547244#msg547244

downloaded your mode from this topic, used the mysql plugin you posted.. same problem

any idea ?

BrunoJovanov
08/01/2009, 03:48 PM
Apache needs port 80 but port 80 is already in use what do i do? Oh nmv fixed it i needed to disable LMHOSTS

Sergei
08/01/2009, 04:30 PM
Apache doesn't have anything with this ...

FlashInTheNighT
08/01/2009, 04:33 PM
well it has, port 80 was occupied by team viewer on my host .. so I shutted it down

anyone with a solution for my problem ? http://forum.sa-mp.com/index.php?topic=40077.msg549344#msg549344

danepatrick
08/01/2009, 06:13 PM
The AMX is not found even though its ben compiled successfully. I cant start I have the SQL Plugin and I have the database open for port 7777 Scriptfiles and everything...

Why cant it find the amx?

Sergei
08/01/2009, 06:44 PM
The AMX is not found even though its ben compiled successfully. I cant start I have the SQL Plugin and I have the database open for port 7777 Scriptfiles and everything...

Why cant it find the amx?

*.amx has to have the same name as you have written in server.cfg:
gamemode0 nameofamx

danepatrick
08/01/2009, 08:25 PM
No ****? It is the same -.-

Sergei
08/01/2009, 09:52 PM
You need to put *.amx file in "gamemodes" folder

danepatrick
08/01/2009, 10:02 PM
uhhh.....No you dont >:( Alright if you dont know anything stop trying to help

Sergei
08/01/2009, 10:19 PM
Have you written your MySQL database details in *.pwn before you have compiled it?
Have you extracted *.sql in your MySQL database?
Have you put all scriptfiles from QBase package in scriptfiles folder?
Have you installed SAMP MySQL plugin?
Have you added this line in your server.cfg?
plugins sampmysql

danepatrick
09/01/2009, 01:00 AM
iv done all of that.

[19:58:52] Pickups Max = 100, Current Pickups = 128
[19:58:52]
[19:58:52]
[19:58:52] QBase: Los Santos
[19:58:52] _____________________________
[19:58:52] By QBase Scripting Team
[19:58:52]
[19:58:52] MYSQL: QBase MySQL Player Accounts v0.1 by LordMan
[19:58:52] MYSQL: Attempting to connect to server...
[19:58:53]
Connection to MySQL database: Failed !
[19:58:53] Can't connect to MySQL server on 'localhost' (10061)
[19:58:53] Error in mysql_select_db: MySQL server has gone away
[19:58:53] MYSQL: Connection error, retrying...
[19:58:54]
Connection to MySQL database: Failed !
[19:58:54] Can't connect to MySQL server on 'localhost' (10061)
[19:58:54] Error in mysql_select_db: MySQL server has gone away
[19:58:54] MYSQL: Could not reconnect to server, terminating server...
[19:58:54] --- Server Shutting Down.
[19:58:54]
/**************************************************/
/* SAMP-MySQL v0.1 Plugin unloaded successfully ! */
/**************************************************/

Claude_Speed
09/01/2009, 01:07 AM
You need a MYSQL server and insert the database.sql.

-----

The Link thing to the forums is a mess xD!! Im too lazy for delete and stuff D:!

danepatrick
09/01/2009, 01:33 AM
Already have one...

on
localhost
port 7777
database samp (WITH THAT SQL INSERTED)

Jari
09/01/2009, 01:37 AM
When I write /register pass nothing happened, where is the problem

danepatrick
09/01/2009, 01:39 AM
Cant connect to mysql even when its on and open and loaded the sql file and everything omfg...

[20:38:33] Pickups Max = 100, Current Pickups = 128
[20:38:33]
[20:38:33]
[20:38:33] QBase: Los Santos
[20:38:33] _____________________________
[20:38:33] By QBase Scripting Team
[20:38:33]
[20:38:33] MYSQL: QBase MySQL Player Accounts v0.1 by LordMan
[20:38:33] MYSQL: Attempting to connect to server...
[20:38:33]
Connection to MySQL database: Failed !
[20:38:33] Can't connect to MySQL server on '127.0.0.1' (10061)
[20:38:33] Error in mysql_select_db: MySQL server has gone away
[20:38:33] MYSQL: Connection error, retrying...
[20:38:35]
Connection to MySQL database: Failed !
[20:38:35] Can't connect to MySQL server on '127.0.0.1' (10061)
[20:38:35] Error in mysql_select_db: MySQL server has gone away
[20:38:35] MYSQL: Could not reconnect to server, terminating server...
[20:38:35] --- Server Shutting Down.
[20:38:35]
/**************************************************/
/* SAMP-MySQL v0.1 Plugin unloaded successfully ! */
/**************************************************/

Jari
09/01/2009, 12:34 PM
when I have any filter script, all commands in game dont work (not even register and login)????????And How to fix stupid runing of character

Dragutin
10/01/2009, 08:58 PM
Is fixed bug with House Cars

Jari
11/01/2009, 03:11 AM
when I have any filter script, all commands in game dont work (not even register and login)????????And How to fix stupid runing of character


Can someone help??

zocerman123
15/01/2009, 07:17 PM
can i make that everyone can drive a bike without licenses and without needing fuel?

Coicatak
15/01/2009, 07:23 PM
Is fixed bug with House Cars

There's no house cars
can i make that everyone can drive a bike without licenses and without needing fuel?
Yes

when I have any filter script, all commands in game dont work (not even register and login)
Do you know how to code?

zocerman123
15/01/2009, 08:23 PM
can i make that everyone can drive a bike without licenses and without needing fuel?


and how to agree????

Coicatak
16/01/2009, 10:46 AM
can i make that everyone can drive a bike without licenses and without needing fuel?


and how to agree????


Suppr every lines which are linked with fuel system in your script, make something like IsABike and then in OnPlayerStateUpdate or OnPlayerUpdateState look for PLAYER_STATE_DRIVER and then for if(PlayerInfo[playerid][pCarLyc] != 1) modify it as you want

zocerman123
17/01/2009, 03:12 PM
can i make that everyone can drive a bike without licenses and without needing fuel?


and how to agree????


Suppr every lines which are linked with fuel system in your script, make something like IsABike and then in OnPlayerStateUpdate or OnPlayerUpdateState look for PLAYER_STATE_DRIVER and then for if(PlayerInfo[playerid][pCarLyc] != 1) modify it as you want



I made it but we still writes, we can better explain a??

Coicatak
17/01/2009, 09:26 PM
can i make that everyone can drive a bike without licenses and without needing fuel?


and how to agree????


Suppr every lines which are linked with fuel system in your script, make something like IsABike and then in OnPlayerStateUpdate or OnPlayerUpdateState look for PLAYER_STATE_DRIVER and then for if(PlayerInfo[playerid][pCarLyc] != 1) modify it as you want



I made it but we still writes, we can better explain a??


Yes, I'll post it later. Remind me to do so if I don't post.

zocerman123
18/01/2009, 06:51 PM
When these post?

Jari
19/01/2009, 11:04 PM
Can someone put this little tutorial with pics. how to fix deagle spamm, because i dont understand so much post before, please

Coicatak
20/01/2009, 02:13 PM
Can someone put this little tutorial with pics. how to fix deagle spamm, because i dont understand so much post before, please

I don't have time to take pics and all so i just explain you quickly:

Go to your SQL DB and look at the "Players" table
Go to the structure and then at the bottom you'll see "Add line" or something like that
Add 7 lines with names "Deagle" "Shotgun" "Rifle" "SDPistol" "MP5" "M4" "AK47"

And you're done.

Jari
20/01/2009, 07:35 PM
TNX :D

Calgon
20/01/2009, 08:04 PM
I'm confused as to where we get the SQL output from?

alex25ro
22/01/2009, 08:45 AM
<quoting was not needed>
Nice GM man... you rock
Can i add payday every 15 minutes ?? If yes can u help me do it ?
Maybe can u make a map also ??? and get the map bug out, when i am in game and try to see the map it cruses!!! ??

and another question... were is the i for taxi driver?? can`t find it ....

extra
23/01/2009, 02:55 PM
nice edit but 1 question
how i can be admin?

alex25ro
23/01/2009, 09:32 PM
heatON♠♣★ ]
nice edit but 1 question
how i can be admin?


try this
in internet explorer:
http://127.0.0.1/home/mysql/
Then select the database samp
click on players
then edit your player name
http://img232.imageshack.us/img232/8577/databasetv3.th.jpg (http://img232.imageshack.us/my.php?image=databasetv3.jpg)
admin level si betwen 1 and 6


PS: Can anyone help me with the linking account thing ??? how do i do that ?! i know it is something with php but .. so help me guys :D

TGKDaemon
26/01/2009, 03:48 PM
Hi, your gamemode seems the best ;)

But, I'm having a problem when I get to the part of writing the database I try to import the file "database.sql" but it gives a huuuuge error saying that I did not introduce a valuable database.
What should I do ?

Help, please?

Regards,
Afonso

alex25ro
27/01/2009, 08:46 AM
Show me the error.. maybe i can help you... i see this guys don`t talk so much:))

or try this ... this is my database with added colums for deagle shotgun and all

http://rapidshare.com/files/190060158/data_base.sql.html

zocerman123
27/01/2009, 06:23 PM
can i make that everyone can drive a bike without licenses and without needing fuel?


and how to agree????


Suppr every lines which are linked with fuel system in your script, make something like IsABike and then in OnPlayerStateUpdate or OnPlayerUpdateState look for PLAYER_STATE_DRIVER and then for if(PlayerInfo[playerid][pCarLyc] != 1) modify it as you want



I made it but we still writes, we can better explain a??


Yes, I'll post it later. Remind me to do so if I don't post.


when budes upload it for a bicycle that not spent fuel, and that does not need license

Coicatak
28/01/2009, 08:48 AM
Alright, I did it 2 secs ago (sorry I couldn't do it sooner, I was too busy with my own script and RL issues)
So here you go:
First of all, make a new funtcion I'll call IsABike ((put it at the top of your script, under the first functions):

public IsABike(carid)
{
if(carid == <> || carid == <>|| carid == <>) return 1; // replace <> with your bikes' ID and add more "|| carid == " if you have more bikes
return 0;
}
Then don't forget to forward it:
forward IsABike(carid);

Once you've done this we'll adat your script with the fuel system. Look for the function CheckGas() and replace it with this
public CheckGas()
{
new string[256];
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
new vehicle = GetPlayerVehicleID(i);
if(GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsABike(vehicle))
{
if(Gas[vehicle] >= 1)
{
if(Gas[vehicle] <= 10) { PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0); }
if(gGas[i] == 1) {
format(string, sizeof(string), "~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~Fuel:~w~ %d%",Gas[vehicle]);
GameTextForPlayer(i,string,15500,3); }
if(IsAPlane(vehicle) || IsABoat(vehicle)) { Gas[vehicle]++; }
Gas[vehicle]--;
}
else
{
NoFuel[i] = 1;
TogglePlayerControllable(i, 0);
GameTextForPlayer(i,"~w~~n~~n~~n~~n~~n~~n~~n~~n~This vehicle is out of fuel~n~Type /exit to get out",1500,3);
}
}
}
}
return 1;
}

The, look at the funtcion OnPlayerUpdateState and look for the line if(PlayerInfo[playerid][pCarLic] != 1) (what's under this line will appear when you enter a vehicle with whereas you don't have your license)Then modify the line under it:
if(TakingLesson[playerid] != 1)
to
if(TakingLesson[playerid] != 1 || !IsABike(carid))

And you(re done, enjoy! ;)

PS: Don't forget to indent (http://forum.sa-mp.com/index.php?topic=61893.0) your code well ;)

zocerman123
29/01/2009, 02:27 PM
Alright, I did it 2 secs ago (sorry I couldn't do it sooner, I was too busy with my own script and RL issues)
So here you go:
First of all, make a new funtcion I'll call IsABike ((put it at the top of your script, under the first functions):

public IsABike(carid)
{
if(carid == <> || carid == <>|| carid == <>) return 1; // replace <> with your bikes' ID and add more "|| carid == " if you have more bikes
return 0;
}
Then don't forget to forward it:
forward IsABike(carid);

Once you've done this we'll adat your script with the fuel system. Look for the function CheckGas() and replace it with this
public CheckGas()
{
new string[256];
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
new vehicle = GetPlayerVehicleID(i);
if(GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsABike(vehicle))
{
if(Gas[vehicle] >= 1)
{
if(Gas[vehicle] <= 10) { PlayerPlaySound(i, 1085, 0.0, 0.0, 0.0); }
if(gGas[i] == 1) {
format(string, sizeof(string), "~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~Fuel:~w~ %d%",Gas[vehicle]);
GameTextForPlayer(i,string,15500,3); }
if(IsAPlane(vehicle) || IsABoat(vehicle)) { Gas[vehicle]++; }
Gas[vehicle]--;
}
else
{
NoFuel[i] = 1;
TogglePlayerControllable(i, 0);
GameTextForPlayer(i,"~w~~n~~n~~n~~n~~n~~n~~n~~n~This vehicle is out of fuel~n~Type /exit to get out",1500,3);
}
}
}
}
return 1;
}

The, look at the funtcion OnPlayerUpdateState and look for the line if(PlayerInfo[playerid][pCarLic] != 1) (what's under this line will appear when you enter a vehicle with whereas you don't have your license)Then modify the line under it:
if(TakingLesson[playerid] != 1)
to
if(TakingLesson[playerid] != 1 || !IsABike(carid))

And you(re done, enjoy! ;)

PS: Don't forget to indent (http://forum.sa-mp.com/index.php?topic=61893.0) your code well ;)


Thanks a lot, what you explained!

Martin_Robinson
30/01/2009, 05:57 AM
Congratulations. Good work. I am downloading this gm. Thank you.

zocerman123
30/01/2009, 09:56 PM
how to do when someone writes /leaders to see all of the online leaders, and they have the organization???

Serbyyyy
31/01/2009, 09:31 PM
Cant connect to mysql even when its on and open and loaded the sql file and everything omfg...

[20:38:33] Pickups Max = 100, Current Pickups = 128
[20:38:33]
[20:38:33]
[20:38:33] QBase: Los Santos
[20:38:33] _____________________________
[20:38:33] By QBase Scripting Team
[20:38:33]
[20:38:33] MYSQL: QBase MySQL Player Accounts v0.1 by LordMan
[20:38:33] MYSQL: Attempting to connect to server...
[20:38:33]
Connection to MySQL database: Failed !
[20:38:33] Can't connect to MySQL server on '127.0.0.1' (10061)
[20:38:33] Error in mysql_select_db: MySQL server has gone away
[20:38:33] MYSQL: Connection error, retrying...
[20:38:35]
Connection to MySQL database: Failed !
[20:38:35] Can't connect to MySQL server on '127.0.0.1' (10061)
[20:38:35] Error in mysql_select_db: MySQL server has gone away
[20:38:35] MYSQL: Could not reconnect to server, terminating server...
[20:38:35] --- Server Shutting Down.
[20:38:35]
/**************************************************/
/* SAMP-MySQL v0.1 Plugin unloaded successfully ! */
/**************************************************/

SAME PROBLEM HELP PEOPLE HELP US!

Trent
01/02/2009, 01:55 AM
Do you have XAMPP Running when you try to run the server?

douglas_dgs
25/02/2009, 04:21 AM
Awesome GM!

But can i remove the houses and put new houses with housecars?

If yes, how? :roll:

Coicatak
25/02/2009, 01:40 PM
Awesome GM!

But can i remove the houses and put new houses with housecars?

If yes, how? :roll:
You can script whatever you want, how? By learning ;)

If you managed to install SQL and stuffs I suggest you to use CityWide: RolePlay script, which is a huge edit of this one but ALL is based on MySQL so if you want to change houses, just modify its coords, interior, etc in the DB and you're done <3

Gen1uz
14/03/2009, 08:25 AM
I have problem everything is working but if I want register and type /register mypassword then nothing happens.

tekkstar
28/03/2009, 03:18 PM
Can someone make a ready Server for windows??
I get an Error when I start it: [16:17:28] Script[gamemodes/l.amx]: Run time error 19: "File or function is not found"

Thanks in advance.

tekkstar


PS: Sorry for my bad English

Ryan_Undering
29/03/2009, 08:02 PM
HELLP!!!
when i tried to run it all it said this in the black box thingy...
and i tried the other link andit does exxatly the same

Script [gamemodesmtrp-final.amx]: Run time error 19: "File or Function is not found"

Chaprnks
29/03/2009, 08:18 PM
HELLP!!!
when i tried to run it all it said this in the black box thingy...
and i tried the other link andit does exxatly the same

Script [gamemodesmtrp-final.amx]: Run time error 19: "File or Function is not found"


Script [gamemodesmtrp-final.amx]: Run time error 19: "File or Function is not found"
on the config file put a space after gamemodes

Ryan_Undering
30/03/2009, 02:22 PM
HELLP!!!
when i tried to run it all it said this in the black box thingy...
and i tried the other link andit does exxatly the same

Script [gamemodesmtrp-final.amx]: Run time error 19: "File or Function is not found"


Script [gamemodesmtrp-final.amx]: Run time error 19: "File or Function is not found"
on the config file put a space after gamemodes


It had a space.... still says the same thing.......
gamemode0 mtrp-final thats what it should be, no?

tekkstar
01/04/2009, 05:24 PM
Hey,

can someone edit the GM???
J would have MySQL disabled.

THX in advance.

tekkstar


PS: sry for my bad english

Exclikers
02/04/2009, 05:36 PM
can i run this server on MYSQL 2005??

please tell me how??

rtydrtyd
13/04/2009, 08:47 AM
----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, (C)2005-2008 SA:MP Team


Server Plugins
--------------
Loaded 0 plugins.

Started Server on port: 7777, with maxplayers: 32 lanmode is ON.

Filter Scripts
---------------
Loading filter script 'adminspec.amx'...
Loading filter script 'vactions.amx'...
Loaded 2 filter scripts.

Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not fo
und"
help pleas!!! >:D

xxmitsu
14/04/2009, 01:27 AM
Server Plugins
--------------
Loaded 0 plugins.



Load the sampmysql pugin before using the GM.

Squidy
26/04/2009, 03:01 PM
When I join it says "Stay in your bounaries" or something and the sreen goes all funny, please help!

Squidy
26/04/2009, 03:08 PM
Also I get this, sorry for double Post
C:\Users\Squidy Montana\Desktop\Server\gamemodes\mtrp-final.pwn(14) : fatal error 100: cannot read from file: "a-samp"

maij
27/04/2009, 09:09 AM
O M G, this script got a complete familie tree.

peno 1. >godfather > moderntopia > Qbase..

FakerBG
15/05/2009, 08:35 AM
how to fix this
Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not fo
und"

maam10
05/06/2009, 09:17 PM
I got a little problem..

I cannot register, I type /register [mypasswordthatyoucannotknow:P] - and nothing happens.. And if i press shift - Closed the connection.

Adeilson_hk
05/06/2009, 09:23 PM
Nice work :D

maam10
17/06/2009, 03:06 PM
How does the SAPT work? How to be a leader of that, how to drive their vehicles?...


Btw.
Got in.. Something wrong with the lspdG filterscript.. I turned it off and everything worked :D

Lazytown
21/06/2009, 06:01 PM
THX

Namaco
27/06/2009, 01:16 AM
how to make that account linking because i can tfind my account in scriptfile and MySql

Ignas1337
27/06/2009, 08:50 AM
not bad dude

Mirotic
27/06/2009, 11:02 AM
How to run gamemode ?

http://up-pickub.com/images/13s.jpg (http://up-pickub.com/view-13s.jpg)

I never use mysql.

Help me!.

Scresho
27/06/2009, 07:11 PM
ive added the deagle shit and now the server wont lemme register!

mattdademon
28/06/2009, 02:49 AM
Some reason its not working like, I can get into the game its just when I am in, I can not register or login and when I select a Character it doesn't work :(. Anyone got helpz?

Bledar_Morina
28/06/2009, 11:46 PM
Well, I'd like some credit too.
That was Valhalla script post GF and Pre-SQL.

dahmer
01/07/2009, 11:52 PM
SQL query:

/* * * -- Moderntopia: Los Santos -- * version 1.0 beta * * by Novice, Luk0r, Shehab, Ehren * based on the original Godfather script by FeaR * */#define SCRIPT_VERSION "mtrp-final 1.0 forum release"
#include <a_samp>
#include <a_sampmysql>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
static gTeam[MAX_PLAYERS];

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'static gTeam[MAX_PLAYERS]' at line 1


it comes when i want to import my PWN file and i cant understand it ... Help ???

rtydrtyd
20/07/2009, 10:58 PM
I have the server working but wen i go to the game it just says (connecting to 5.189.70.123) then says (the server did not respawnd retying) :( i have it conected to hamachi for frend's i had one set up the same way but wasnot a mysql server and worked what do i need to do to get it to work for a mysql server?

Vladimir_Gazetti
25/07/2009, 01:26 AM
SQL query:

/* * * -- Moderntopia: Los Santos -- * version 1.0 beta * * by Novice, Luk0r, Shehab, Ehren * based on the original Godfather script by FeaR * */#define SCRIPT_VERSION "mtrp-final 1.0 forum release"
#include <a_samp>
#include <a_sampmysql>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
static gTeam[MAX_PLAYERS];

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'static gTeam[MAX_PLAYERS]' at line 1


it comes when i want to import my PWN file and i cant understand it ... Help ???



You are trying to import your PWN file to the SQL server?

People READ the first page, there is a tutorial on how to install this.

m3dion
06/08/2009, 12:22 PM
I got a little problem..

I cannot register, I type /register [mypasswordthatyoucannotknow:P] - and nothing happens.. And if i press shift - Closed the connection.


Same problem. Anyone know how to fix that?

batuhan529
10/08/2009, 03:04 PM
C:\Users\Batuhan\Desktop\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
C:\Users\Batuhan\Desktop\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Ritchie999
18/09/2009, 12:44 AM
i founds a few bugs
the /prisoncell 1-5 works but /unprison doesnt work
theres a certain house that once you buy and enter you cant exit, you need to be teleported, the interior's go wrong when you get teleported
in the command prompt window i get this error about Deagle in 'field list'

its a brilliant script i love it, and all of my players in server love it, but its just these bugs that i think need to be fixed

Ritchie999
20/09/2009, 05:41 PM
Also, how do i remove the nickname kick, so people can join even if they dont have their name like Firstname_Lastname?

GBLTeam
22/09/2009, 09:51 AM
Good job ..

Ritchie999
26/09/2009, 12:33 PM
how can i edit the roadblock command so i can place more than one?

agb26
28/09/2009, 05:39 AM
I too am getting the Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found" error.

Is anyone going to fix this problem?! :x

Calgon
28/09/2009, 05:50 AM
I too am getting the Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found" error.

Is anyone going to fix this problem?! :x


You haven't installed the SQL plugin properly.

RAEN
02/10/2009, 04:02 AM
plz reupload PWN.

z0ne
04/10/2009, 12:07 PM
Hello i have a problem, this game mode works with sa-mp 0,2,2 version, but with 0,2x it restarts. WTF? Can someone help me?

Jake Canfield
17/10/2009, 01:52 PM
Hello when I compile and run it I get this errors.
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(9926) : error 017: undefined symbol "SetDisabledWeapons"
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(39216) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please help me.

Eazy_Efolife
17/10/2009, 01:58 PM
Hello when I compile and run it I get this errors.
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(9926) : error 017: undefined symbol "SetDisabledWeapons"
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(39216) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please help me.


You have to translate QBase Roleplay to 0.3

Jake Canfield
17/10/2009, 02:00 PM
Hello when I compile and run it I get this errors.
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(9926) : error 017: undefined symbol "SetDisabledWeapons"
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(39216) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please help me.


You have to translate QBase Roleplay to 0.3

And how would I do that?
I'm a noob scripter learning this will help me. :D

MenaceX^
17/10/2009, 02:05 PM
Hello when I compile and run it I get this errors.
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(9926) : error 017: undefined symbol "SetDisabledWeapons"
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(39216) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please help me.


You have to translate QBase Roleplay to 0.3

And how would I do that?
I'm a noob scripter learning this will help me. :D
SetDisabledWeapons no longer exists, so OnPlayerPrivmsg.
The other warning + error are related to the morphic include which I think is useless.

Jake Canfield
17/10/2009, 02:07 PM
Hello when I compile and run it I get this errors.
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(9926) : error 017: undefined symbol "SetDisabledWeapons"
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(37441) : error 004: function "NameTimer" is not implemented
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(39216) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
F:\PC Games\Servers\RC10-1 Server\gamemodes\mtrp-final.pwn(41027) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please help me.


You have to translate QBase Roleplay to 0.3

And how would I do that?
I'm a noob scripter learning this will help me. :D
SetDisabledWeapons no longer exists, so OnPlayerPrivmsg.
The other warning + error are related to the morphic include which I think is useless.

What about NameTimer?

EDIT: I looked at that newbie tut and xD at one part it says City Hell.
EDIT: I fixed it all.

Jake Canfield
17/10/2009, 02:40 PM
I ran the MySQL and now this comes up.

MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'static gTeam[MAX_PLAYERS]' at line 1

Jake Canfield
17/10/2009, 04:40 PM
I am not sure where to do this but I fixed my errors and now my server shuts down and says unable to load samp.players

EDIT: Damn it sorry for tripple post.

SamSam
21/10/2009, 01:53 PM
Il downloaded and want play!!

MundoGames
31/10/2009, 09:46 PM
I can make NPC's in this GM?



I insert
if(IsPlayerNPC(playerid)) {
gPlayerLogged[playerid] = 1;
}
before

public OnPlayerConnect(playerid)
{


but, the NPC make this error
[18:45:24] [npc:part] City_Cop has left the server (3:2)



PD: Sorry for my bad english, i'm from Argentina http://www.farandride.com/images/flags/argentina_flag.png

MundoGames
04/11/2009, 12:25 AM
Please, someone can help to me?


Thanks!!

SVRP
18/11/2009, 12:56 PM
You need to use it at every callback the player makes before spawning ;)

How do I add Houses, Businesses and Buildings?
And how can I remove the gates at those Maffia's and the maffia's itself completly?

[GWE]Ghost_Rider
18/11/2009, 02:06 PM
Cool i will try it and reply if i find any bug

wvgamer17
22/11/2009, 11:40 PM
Hi i have a problem with this game mode. i have the mysql loaded and everything but as soon as i connect to the server the server cannot conect to game and shuts down....pleaze help

kukars22
23/11/2009, 01:04 AM
Looks nice, good job, keep going.. ;)

External-Life
29/11/2009, 07:15 PM
Can someone please upload the updated pwn file and a mirror the original mirrors you need to be premium members or rapid share to download

M.Kivi
30/11/2009, 08:23 PM
http://rs238.rapidshare.com/files/168995242/QBase_Edit_Of_ModernTopia.rar
try this one

Taku
01/12/2009, 08:37 PM
I get this error when i try to get the house cars to work:
C:\Users\Andre\Desktop\mtrp-final.pwn(1596) : error 052: multi-dimensional arrays must be fully initialized

Here is my script from the House car thing where the error is:
new Float:HouseCarSpawns[35][4] = {
{2452.7283,-1049.5295,59.2484,175.7684},//Trailer
{2064.4,-1694.4,13.1,271.1561},//Vito
{2137.6025,-1369.6079,24.3998,0.2954},//Don
{1109.8,-968.0,42.7,0.0},//house 3
{2497.6274,-2025.6306,13.2521,355.4281}, // House 4
{2645.0,-1990.8,13.1,180.0},//House - 5
{2379.0803,-1352.7295,23.8044,359.2548},//R Andos house.
{1910.5149,-1120.5304,25.4493,177.8350},//house 7
{828.8,-887.0,68.5,230.7095},//House 8
{2149.6,-1610.9,14.0,90.7904},//House 9
{760.1,-1687.8,4.3,180.6},//House 10
{645.5,-1616.1,14.9,0.0},//House 11
{2135.6790,-1328.4812,25.3132,359.4437},//Kenny's house.
{1971.9521,-1674.3673,15.6250,267.4205},//Luis' house.
{959.5864,-901.0845,45.8584,177.3087},//House 14
{2445.8,-1326.8,23.6,18.4},//House 15
{2845.9,-1286.8,18.9,90.0},//house 16
{2510.2065,-1686.6537,13.3436,40.9452}, //Grove St. Crib NOT FINISHED
{2770.9866,-1319.6285,39.5358,269.3118},//Dizzys Crib
{2812.3079,-1249.8522,46.6584,121.1268},//Akhils
{1514.0,-694.6,94.5,90.0},//House 20
{1246.7,-1107.6,25.5,266.4},//House 21
{831.7,-857.5,69.9,180.0},//House 22
{1007.9,-659.4,121.1,130.6194},//House 23
{1110.0,-726.4,100.1,90.0},//House 24
{259.7,-1221.0,74.7,202.0011},//House 25
{1463.7,-901.7,55.8,359.0},//house 26
{1440.1,-890.6,51.2,0.0},//house 27
{2188.9983,-1808.7736,13.1800,359.5364},//Farag Mansion /28 NOT FINISHED
{283.6283,-1160.9851,80.6183,225.7260}, //Richman Mansion /29
{931.5033,-852.6615,93.1273,22.2322},// Mulholland Heights /30
{686.2572,-1072.3381,49.5535,62.7273},//Shins house.
{224.3580,-1267.8698,65.2954,324.8690} //Jo herring 34
};

!!NOTE: The line 1596 is "};" at the end of the code

Anyone knows how do fix this? It would be very good to get it fixed because then house cars should work

marcuselsa
05/12/2009, 10:37 AM
does it have to be mysql? cuz i have a hosted serverFFS samp

universe
05/12/2009, 10:46 PM
is this based in san fiero or las venturaS?

Taku
06/12/2009, 06:17 AM
is this based in san fiero or las venturaS?

Los santos

Mafiathne
06/12/2009, 10:00 PM
Hello,
pls other Host for this GM :)

I cant download :/

universe
08/12/2009, 07:30 PM
other host please..

maam10
08/12/2009, 09:54 PM
is this based in san fiero or las venturaS?


Los Santos.

gin
08/12/2009, 10:07 PM
other host please

universe
09/12/2009, 06:46 AM
Please upload to mediafire :(

HAdamPepsiThe
15/12/2009, 07:05 PM
Error the download :( ( http://rs238.rapidshare.com/files/168995242/QBase_Edit_Of_ModernTopia.rar )
Help me

Lotusmp
15/12/2009, 08:27 PM
Thats nice GM Edit :lol:

matthew32112
18/12/2009, 02:39 AM
not working for me

PawnNewCommer
20/12/2009, 03:08 PM
i find two bugs:
1. If you married, in /stats item "marriedTo" Shows not correctly. It is invisible first and last letter in н a name of the spouse.
For example the name of my wife Holly_Sweet, and in statistics(/stats) shows olly_Swee
2. If you married and you leave from a server, and then you come again on a server that name of the wife vanishes in statistics(/stats) absolutely. And there written No-one. Though a variable married in account = 1
Somebody knows as it to repair? :(

ReccaZero
27/12/2009, 03:11 AM
anyone help me... post full tutorial please + Server.cfg, i always failed to build this Server.... :'( :'( :'( :'(

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

SA-MP Dedicated Server
----------------------
v0.3a R4, (C)2005-2009 SA-MP Team

[10:06:16] filterscripts = "" (string)
[10:06:16]
[10:06:16] Server Plugins
[10:06:16] --------------
[10:06:16] Loading plugin: sampmysql
[10:06:16] Failed.
[10:06:16] Loaded 0 plugins.

[10:06:16]
[10:06:16] Filter Scripts
[10:06:16] ---------------
[10:06:16] Loaded 0 filter scripts.

[10:06:16] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
[10:06:16] Number of vehicle models: 0

Longnose
02/01/2010, 03:54 PM
please upload on other server i cant download it :( i`m trying to download it 2 days and cant... it sux... please upload on other server...
thanks...

Piiilu
02/01/2010, 09:06 PM
anyone help me... post full tutorial please + Server.cfg, i always failed to build this Server.... :'( :'( :'( :'(

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

SA-MP Dedicated Server
----------------------
v0.3a R4, (C)2005-2009 SA-MP Team

[10:06:16] filterscripts = "" (string)
[10:06:16]
[10:06:16] Server Plugins
[10:06:16] --------------
[10:06:16] Loading plugin: sampmysql
[10:06:16] Failed.
[10:06:16] Loaded 0 plugins.

[10:06:16]
[10:06:16] Filter Scripts
[10:06:16] ---------------
[10:06:16] Loaded 0 filter scripts.

[10:06:16] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
[10:06:16] Number of vehicle models: 0



Follow this guide:

http://forum.sa-mp.com/index.php?topic=140745.0

illli illlil
03/02/2010, 06:29 PM
Can anyone make a mirror for this please?

rannyere
03/02/2010, 08:31 PM
Can anyone make a mirror for this please?

[2] :|

falor
04/02/2010, 10:28 AM
Crash while attempting for logging!
any solution?

Psy_Fear
28/02/2010, 01:35 AM
I HATE rapidshare so i thought i'd share a mirror:
http://www.mediafire.com/?mzjteglii1e
Enjoy!


Tanks!! I Love You!! :roll:

Akkzii
28/02/2010, 01:11 PM
First of all i cant find the "Database.sql" its not in the Qbase RAR file i've downloaded

Secound of all. when i try to connect, then the server restarts.....
Please help me (:

vagosz
24/03/2010, 08:34 AM
Download database.sql → http://forum.sa-mp.com/index.php?topic=40077.0

gummi1337
29/03/2010, 03:05 PM
C:\Documents and Settings\Slayer\Skrivbord\Server\gamemodes\mtrp-final.pwn(37442) : error 004: function "NameTimer" is not implemented


help?

gummi1337
29/03/2010, 03:36 PM
can you send the scriptfiles to?

kingforyou
31/03/2010, 12:38 AM
What do u mean by that :
if(strcmp(cmd, "/linkinfo", true) == 0 || strcmp(cmd, "/li", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_YELLOW, "--- Linking Your Account ---");
SendClientMessage(playerid, COLOR_YELLOW2, "To link your character to a website account, you must register on QBase Forums.");
SendClientMessage(playerid, COLOR_YELLOW2, "After your account has been registered, click the link on the right of the page to link your account to an SA:MP character.");
SendClientMessage(playerid, COLOR_YELLOW2, "Enter your character's name and password to complete the linking process.");
if (PlayerInfo[playerid][pLinked] != 0) SendClientMessage(playerid, COLOR_GREY, "NOTE: Your character is already linked to an account, so there's no need to do this.");
return 1;
}
return 1;
}


How can i do that they register from my own forum ?

wisleyjerry
02/04/2010, 10:59 PM
i Got the error when i compiling : Couldn't read from "a_sampmysql" i have puted it into Include .. Another problem is , when im starting the server, after a player joins, comes the error in console : Error: in mysql_query: Table 'samp.players' doesen't exist and another one: Error in mysql_store_result: Table 'samp.players' doesn't exist. Please help me

maam10
05/04/2010, 01:46 AM
No need to bump this up...

- This GM is made for 0.2X or 0.2.2, you will need to convert the script.

mulia_dj
23/04/2010, 11:12 AM
Hi, i look and use your GM and i have one question.
Why every time I login always appear tutorials ?

mulia_dj
24/04/2010, 11:43 PM
there's no answer???? :roll: :roll:

Salah Ghoubj
26/05/2010, 09:23 PM
hey guys i need someone to help me.
i have server and i need someone script to me the server or help me,i need it like the redgies or something like the redgies,just i need someone to help me plz.

doT.
01/06/2010, 07:55 AM
Hello! I have a little problem :
C:\Users\Administrator\Desktop\x\x\gamemodes\x.pwn (26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 5904 bytes
Code size: 1100332 bytes
Data size: 4429832 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5552452 bytes

1 Warning.


Can someone help me?

Ricop522
17/08/2010, 01:23 AM
ANOTHER LINK PLEASE!

Moglizorz.
04/10/2010, 05:29 PM
Hello! I have a little problem :
C:\Users\Administrator\Desktop\x\x\gamemodes\x.pwn (26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 5904 bytes
Code size: 1100332 bytes
Data size: 4429832 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5552452 bytes

1 Warning.


Can someone help me?

Remove the function "OnPlayerPrivmsg" completely, the latest version of SA-MP does not support it.

Lisandro
06/10/2010, 01:09 PM
some factions do not have chat..(ex mayor do not respond /f )..

SaW_[VrTx]
25/01/2011, 03:50 PM
Crashing on 0.3c (when using /login)

Fool
25/01/2011, 04:00 PM
Epic a Hobo Job..

TheRock93
09/12/2011, 04:30 PM
Good job .

Neonman
17/12/2011, 04:51 PM
you worked on this for 3 months,It seems cool.

Steven82
17/12/2011, 09:02 PM
you worked on this for 3 months,It seems cool.

Quit posting comments like this on all the gamemode releases..stop post counting!

Juan_Viz
05/08/2012, 02:06 PM
Awesone, might try ot!

Johnny_Ionut
05/08/2012, 04:48 PM
Simply the best
Nice work man ... keep up the good work