Search Results
Added some features I could remember to the main post so people can have an idea of what this script has to offer. I've also updated the github repo to have more necessary files in scriptfiles.
4,297
Quote: Originally Posted by Hawk839 Where to fill up the mysql details? Server should create a file called MySQLConfig.ini on startup.
4,297
mtg_rp_tables.sql has been added to the repo. This contains create table code required for the MySQL database.
4,297
Quote: Originally Posted by KevTheJoker I can't see the .sql file there, or am I blind? lol The server used a hosted MySQL database. As it has been so long and no backups exist, I don't...
4,297
Hello everyone, I present to you the Moving Target Gaming Roleplay gamemode. This is a fully fledged roleplay server developed over the course of 5 or so years starting with Vortex Roleplay 1 as a bas...
4,297
Server InformationSA:MP Roleplay IP: samp.mt-gaming.com SA:MP Gangwars: samp.mt-gaming.com:8889 TS3: ts3.mt-gaming.com Website: www.mt-gaming.com Youtube: http://goo.gl/BFzkIA What do we offer?...
285
I was compiling with -d3 but the version of crashdetect running on the server was outdated so I updated it and was able to get more information from it. All the YSI debug information is the same as b...
135
The script is compiled in debug mode and I know what run time error 4 is. The issue is the error comes from within the YSI includes and not in the gamemode.
135
So recently I went back to a gamemode I had not worked on in a while and I lost the original includes I used to compile. So I went around and got back whatever I needed to compile it properly. However...
135
No, you need to use a loop as there is no function to go to the next row. A while loop works pretty well for this. Try something like this: pawn Код: public OnHouseLoad(){    new rows, fields, ...
94
You shouldn't be using return inside a loop because it will end the loop at the first player that isn't a drug dealer so if there is players after him that are drug dealers it will never get to them. ...
123
Well then you are checking for the key being pressed incorrectly. Use this: pawn Код: // PRESSED(keys)#define PRESSED(%0) \    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)...
208
Why are you checking for KEY_YES? That isn't called when a player enters a vehicle. Also, you should check out this page on the SA:MP wiki: https://sampwiki.blast.hk/wiki/OnPlayerK...heck_for_a_key Y...
208
fMeter is not a boolean so you can't compare it to true and false. Instead of "fMeter[playerid] > false" do "fMeter[playerid] > 0"
94
If the operating system of your host is Linux then you need to download the .so files for the plugins you wish to use and edit your server config to include ".so" in the plugin names. So your server...
171
Yes, just hit tab on the line with the "return SendClientMessage(playerid, COLOR_GREY, "You can't repair yourself.")" Glad I could help you!
148
Are you making sure to load the position when they log in and set them to the saved position?
78
Just add this somewhere in the command after you extract the params. pawn Код: if(userID == playerid)     return SendClientMessage(playerid, COLOR_GREY, "You can't repair yourself.");
148
The line is to long so you need to split it up using strcat or format OR you can use Zeex's compiler which raises the line length limit. This should work: pawn Код: new string[545];strcat(strin...
73