SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: [WSF]ThA_Devil
Forum: Scripting Help 05/04/2020, 09:32 AM
Replies: 3
Views: 160
Posted By [WSF]ThA_Devil
Re: If "u" specifier is number, sscanf

the specifier u handles it by default and returns an integer of player id by default. I don't see why you'd actually wanna check if it is ID or name. You could try doing another sscanf check which...
Forum: Filterscripts 05/11/2018, 06:57 PM
Replies: 4
Views: 2,150
Posted By [WSF]ThA_Devil
Re: Fully working RADIO SYSTEM

I'm not quite sure it's a compliment.

Also, why do you need 15 different variables that contain nothing useful? PlayAudioStreamForPlayer does not return anything that you need to save.

for(new...
Forum: Screenshots and Videos 14/10/2018, 07:43 PM
Replies: 21
Views: 3,243
Posted By [WSF]ThA_Devil
Re: Animated Actor - Beta Version

To stop making it look weird, you could make it always go forwards and adjust the rotation. Otherwise it is sliding awkwardly all the time.
Forum: Scripting Help 03/10/2018, 05:20 PM
Replies: 5
Views: 415
Posted By [WSF]ThA_Devil
Re: Which is better?

Right, I know I'm not the original poster of this, but now you've indeed intrigued me. Have I been doing this wrong for all these years?
What's the other option, because as far as I see it, other...
Forum: Scripting Help 03/10/2018, 05:00 PM
Replies: 5
Views: 415
Posted By [WSF]ThA_Devil
Re: Which is better?

How about doing this instead?


new const func[][] =
{
{"Text example"},
{"Text example 2"}
};
Forum: Everything and Nothing 13/09/2018, 07:56 PM
Replies: 51
Views: 3,600
Posted By [WSF]ThA_Devil
Re: Do you like the new Chrome design?

I didn't even notice... so I'd say didn't really affect me that much. Change is what keeps things alive, so I'd say it's ok.
Forum: Scripting Help 07/09/2018, 08:02 PM
Replies: 25
Views: 871
Posted By [WSF]ThA_Devil
Re: MySQL runtime 19 errors.

Download the plugin version that was used to make it then. Not optimal but should work.
Forum: Scripting Help 07/09/2018, 07:58 PM
Replies: 25
Views: 871
Posted By [WSF]ThA_Devil
Re: MySQL runtime 19 errors.

You also need to update the include of the plugin (and recompile) which WILL cause incompatibility.
Forum: Scripting Help 05/09/2018, 06:33 PM
Replies: 12
Views: 838
Posted By [WSF]ThA_Devil
Re: Help Me :( (libmySQL.so)

If I remember correctly, instead of loading mysql.so I loaded mysql_static.so. Should be included in the same package.
Forum: Plugin Development 21/08/2018, 05:18 PM
Replies: 41
Views: 24,260
Posted By [WSF]ThA_Devil
Re: PAWN memory access plugin

Go to releases tab, just above the files.
Forum: Scripting Help 10/08/2018, 03:36 PM
Replies: 11
Views: 983
Posted By [WSF]ThA_Devil
Re: Remove an line from .txt file

while(fread(handle,string))
if(strfind(string,removed) == -1) {
fwrite(ftmp,string);
break;
}


Use that or change it to strcmp and compare the entire length of the string.
Forum: Filterscripts 17/06/2018, 04:49 PM
Replies: 474
Views: 291,533
Posted By [WSF]ThA_Devil
Re: TDEditor - New TextDraw creator with Preview models.

There is no use of having it on linux as ALMOST NOBODY plays GTA on linux. The .DLL is used for detecting keys, that's why it doesn't work when you're connecting from a different device and it is why...
Forum: Scripting Help 22/05/2018, 01:03 PM
Replies: 6
Views: 489
Posted By [WSF]ThA_Devil
Re: How to make Anti Cheat?

Wouldn't work if AC is hooked on OnPlayerWeaponShot. Would desync all admin bullets
Forum: Scripting Help 22/05/2018, 12:41 PM
Replies: 6
Views: 489
Posted By [WSF]ThA_Devil
Re: How to make Anti Cheat?

Treating admins differently than regular players is a big no no. Double standards perhaps?

Either way, if you want to disable it for admins you need to find your admin variable and the function...
Forum: Scripting Help 16/04/2018, 05:50 PM
Replies: 8
Views: 487
Posted By [WSF]ThA_Devil
Re: I need your opinion

I personally do not like the spacing for 'username' and 'password' font as it makes it a bit tough on eyes to read. Also, instead of a black borders, why not add some colour or perhaps transparency...
Forum: Scripting Help 13/04/2018, 10:06 PM
Replies: 20
Views: 841
Posted By [WSF]ThA_Devil
Re: How to set player money in MYSQL

Answer:
UPDATE `table` SET `field`=`field`-20 WHERE CONDITION
Forum: Scripting Help 13/04/2018, 06:44 PM
Replies: 7
Views: 1,189
Posted By [WSF]ThA_Devil
Re: Sample code of the PUBG system

<sarcasm>

Wow, never actually seen that tutorial. I mean, this method is much, much simpler than the one I've used for like 8 years now using repeating timers.

</sarcasm>



Did you...
Forum: Scripting Help 13/04/2018, 05:56 PM
Replies: 7
Views: 1,189
Posted By [WSF]ThA_Devil
Re: Sample code of the PUBG system

So lemme get this straight... You want us, to write entire gamemode or at least part of it and give it away just like that? This is 'Scripting Help' board NOT 'Script This For Me' board. So no thank...
Forum: Scripting Help 11/04/2018, 07:31 PM
Replies: 5
Views: 576
Posted By [WSF]ThA_Devil
Re: [HELP !!] Error in mysql_query: You have an error in your SQL syntax;

Not the database but the query, such as: 'SELECT FROM `TABLE`' / 'UPDATE' or something of sorts in your code.
Forum: Scripting Help 25/03/2018, 09:53 PM
Replies: 4
Views: 427
Posted By [WSF]ThA_Devil
Re: strcat

SendClientMessage can only write to a single line. If you want multiple lines then you need to call SCM again with a different text in it.
Forum: Scripting Help 24/03/2018, 03:43 PM
Replies: 10
Views: 449
Posted By [WSF]ThA_Devil
Re: Textdraw isn't selectable

You need to use PlayerTextDrawTextSize to define the clickable area.
Forum: Scripting Help 09/03/2018, 03:00 PM
Replies: 5
Views: 690
Posted By [WSF]ThA_Devil
Re: Pawncc.exe[Application Error][Rep+]

I'm not quite sure, it seems to compile just fine for me. Try downloading a new sa-mp package and replace the compiler or perhaps try a different compiler altogether? Zeex's for example?
Forum: Scripting Help 09/03/2018, 02:47 PM
Replies: 5
Views: 690
Posted By [WSF]ThA_Devil
Re: Pawncc.exe[Application Error][Rep+]

From what I quickly spotted you have 2 opening brackets. "((". Remove one and see if that helps.
Forum: Scripting Help 05/03/2018, 05:29 PM
Replies: 6
Views: 463
Posted By [WSF]ThA_Devil
Re: Backslash inside #include

Go with whatever works, if using / fixes the issue and works as you want it to, do it.
Forum: Scripting Help 05/03/2018, 05:23 PM
Replies: 3
Views: 268
Posted By [WSF]ThA_Devil
Re: 1.234

Use '%f' (float) instead of '%d' (integer)
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:59 PM.


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