SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 213
Search took 0.01 seconds.
Search: Posts Made By: [DK]Dark_Knight
Forum: Scripting Help 15/05/2019, 12:13 AM
Replies: 5
Views: 131
Posted By [DK]Dark_Knight
Re: Problem command /gotoxyz or maps

Try adding this just before SetPlayerPos(playerid, x, y, z)
SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);

If that doesn't work, search the script for all...
Forum: Scripting Help 15/05/2019, 12:09 AM
Replies: 5
Views: 155
Posted By [DK]Dark_Knight
Re: mysql error #1064

In your MySQL query line you are missing a ' after the BankAccounts value
After the number 219898.

`BankAccount` = '219898, `Cash` = ' 16860 '

in your code it will look like this

Forum: Scripting Help 14/05/2019, 11:59 PM
Replies: 4
Views: 141
Posted By [DK]Dark_Knight
Re: Textlabel

I'm not sure about Map Icon Text.. I didn't know that was possible, and couldn't find anything in my search, Are you talking about 3DTextLabel?
However you can shorten the code and make it look...
Forum: Scripting Help 14/05/2019, 05:59 AM
Replies: 5
Views: 114
Posted By [DK]Dark_Knight
Re: textdraw or playertext

You can show one player a global textdraw... You don't need to show it to everyone.

Back on topic;
Use Player Text Draws!
Forum: Scripting Help 14/05/2019, 04:41 AM
Replies: 3
Views: 143
Posted By [DK]Dark_Knight
Re: Need Help.!

Need Help.!
Please use better titles in the future, and [READ BEFORE POSTING] (

[03:23:11] Unable to load filterscript 'sampcac_testscript.amx'....
Forum: Scripting Help 14/05/2019, 04:35 AM
Replies: 1
Views: 85
Posted By [DK]Dark_Knight
Re: Help with sending mail

Try this
Forum: Scripting Help 14/05/2019, 04:27 AM
Replies: 19
Views: 32,062
Posted By [DK]Dark_Knight
Re: error 029: invalid expression, assumed zero

You should have created a new thread, instead of replying to this one. which was originally made in 2012 :o

However, are you able to provide some more information.
Please provide a few lines...
Forum: Scripting Help 14/05/2019, 04:01 AM
Replies: 2
Views: 106
Posted By [DK]Dark_Knight
Re: help in /uninvite command

I think hes saying, the command is executing and he is receiving the message, but the player remains in the faction.
Stopping these messages from sending will not fix his problem.
Forum: Scripting Help 14/05/2019, 03:51 AM
Replies: 2
Views: 94
Posted By [DK]Dark_Knight
Re: Mysql_log

There are no errors.

It log lists the callbacks it was in, so if there is an error somewhere it will list it under that callback header.
This helps in debugging as you will know exactly where to...
Forum: Scripting Help 12/05/2019, 06:22 AM
Replies: 3
Views: 85
Posted By [DK]Dark_Knight
Re: Help! Need Skin loading system

Hey man,

I've taken a look at your code, I can help you out.
Send me a PM with your contact details and I'll give you a hand :)

You haven't addressed the fact that hes trying to set the...
Forum: Scripting Help 12/05/2019, 06:10 AM
Replies: 2
Views: 142
Posted By [DK]Dark_Knight
Re: YSI 4.0.2 problem and Variables/Enums?

It doesn't matter about the order of the variables in the file.

I prefer using the Enum method, I'm not sure as to what one uses less memory or what is faster.
And someone correct my if I'm...
Forum: Scripting Help 09/05/2019, 11:54 PM
Replies: 2
Views: 122
Posted By [DK]Dark_Knight
Looking to help others [Coder]

Hello all, I am finding myself with a fair bit of spare time as of late and I am looking for something to help fill that.

So I am looking to help someone and their team with a project.
I have...
Forum: Plugin Development 18/02/2019, 02:58 AM
Replies: 32
Views: 20,932
Posted By [DK]Dark_Knight
Re: Pawn.Regex - full support of regular expressions

Plugin works great :)

However how does one replace text with nothing

new Regex:r = Regex_New("Test ");
Regex_Replace("My Test Text", r, "", str);

Without getting the error

Forum: Plugin Development 16/02/2019, 05:07 AM
Replies: 124
Views: 73,482
Posted By [DK]Dark_Knight
Re: Regular expression

Good Afternoon. I'm having a bit of trouble with the server crashing when i try to use a regex_replace

[19:04:43] [debug] Server crashed while executing Debug.amx
[19:04:43] [debug] AMX...
Forum: Scripting Help 18/12/2018, 08:55 PM
Replies: 2
Views: 216
Posted By [DK]Dark_Knight
Re: Find and remove bits of string between { and }

Oh awesome. Didn't even think to search for a regex plugin.
Gosh it's an oldy too haha.

I'll do some experimenting later with the
{ one { two three }

Cheers *****!! Also when did you get...
Forum: Scripting Help 18/12/2018, 06:57 AM
Replies: 2
Views: 216
Posted By [DK]Dark_Knight
Find and remove bits of string between { and }

Hey all,

I'm looking for the best way to remove any text in between a { and }, assuming they both exist.
For example

STRING: {FFFFFF}My String {00FF00}Here
RETURNS: My String Here

Forum: Scripting Help 20/03/2017, 03:29 AM
Replies: 1
Views: 218
Posted By [DK]Dark_Knight
Enumerator question

Can you have two or more enums with the same const name without any unwanted effects?
Would it be better to prefix them with something?


enum e_MyEnum
Forum: Scripting Help 23/02/2017, 01:44 AM
Replies: 11
Views: 659
Posted By [DK]Dark_Knight
Re: PlayPlayerSound problem

Firstly, install SSCANF if its not already in use it makes life a lot easier for sorting strings out.

Secondly use the code i have supplied (It...
Forum: Scripting Help 23/02/2017, 12:14 AM
Replies: 11
Views: 659
Posted By [DK]Dark_Knight
Re: PlayPlayerSound problem

"giveplayer" is a string.

Surely you must have the id of the player somewhere though

What command processor are you using,
Are you using SSCANF,
We need all the information to help you.
Forum: Scripting Help 22/02/2017, 11:22 PM
Replies: 11
Views: 659
Posted By [DK]Dark_Knight
Re: PlayPlayerSound problem

Can you give us the whole command please
Forum: Scripting Help 22/02/2017, 10:36 PM
Replies: 1
Views: 298
Posted By [DK]Dark_Knight
What is the best file reader (With TAGS)

Hey everyone,

I'm currently looking for the best file reader include or plugin to read from a file that can be easily edited with a text editor or program. I will be using it to load multiple...
Forum: Plugin Development 14/01/2017, 04:51 AM
Replies: 1,779
Views: 305,586
Posted By [DK]Dark_Knight
Re: YSF - kurta999's version

When a gangzone is hidden for player using GangZoneHideForPlayer it should also call OnPlayerLeaveGangZone if the player is still in it at the time.


When hooking...
Forum: Includes 18/10/2016, 03:18 AM
Replies: 10
[Include] YSI 3.1
Views: 45,549
Posted By [DK]Dark_Knight
Re: YSI 3.1

Does anyone still have the 3.1 of YSI. I can only find version 4 and up. Y_Classes doesnt work at all on version 4. but it did in version 3.1
Forum: Scripting Help 17/10/2016, 01:21 AM
Replies: 0
Views: 189
Posted By [DK]Dark_Knight
Is anyone working on YSI?

Hey guys,

Wanting to start a new script but want to use YSI groups and classes for class select. along with commands and a whole bunch more YSI features.

Currently Classes and Groups dont work...
Forum: Scripting Help 10/08/2016, 07:30 PM
Replies: 4
Views: 449
Posted By [DK]Dark_Knight
Re: floatround in a global variable

That's what I thought. I'll just make a function to do the same thing.

Stock func(Id)
Case 0: return floatround(var1 * var3);
Case 1: return...
Showing results 1 to 25 of 213


All times are GMT. The time now is 09:12 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.