SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 489
Search took 0.01 seconds.
Search: Posts Made By: Adamoneoone
Forum: Scripting Help 12/07/2020, 12:36 PM
Replies: 7
Views: 198
Posted By Adamoneoone
Re: FCNPC plugin

I don't really know what else needs to be explained, you're given every single function available in the plugin. I assume that they're pretty self explanatory, can you tell us exactly what you need...
Forum: Scripting Help 04/07/2020, 04:27 PM
Replies: 6
Views: 189
Posted By Adamoneoone
Re: SAM(P)CE Download help.

https://github.com/SAMPCE/SAMPCE try to build it yourself
Forum: Scripting Help 28/06/2020, 09:21 PM
Replies: 8
Views: 111
Posted By Adamoneoone
Re: Custom car? Help

Hey, free feel to join our discord, I have a launcher already, join our discord if you want to talk and see if it suits your needs or not. :)
Forum: Scripting Help 25/06/2020, 01:22 PM
Replies: 2
Views: 77
Posted By Adamoneoone
Re: [Help] Music...

Take a look at these:
https://wiki.sa-mp.com/wiki/PlayAudioStreamForPlayer
https://wiki.sa-mp.com/wiki/StopAudioStreamForPlayer
Forum: Scripting Help 25/06/2020, 09:21 AM
Replies: 5
Views: 166
Posted By Adamoneoone
Re: Send sms via HTTP

By SMS do you mean sending a message to a real phone number?
Forum: Scripting Help 25/06/2020, 07:13 AM
Replies: 6
Views: 214
Posted By Adamoneoone
Re: I need help. Problem with MySQL

Do you mind not using a dumb font? Everybody can read normal characters i presume...
Post the whole logs?
Did you assign a default value to 'clave2'?
Forum: Scripting Help 24/06/2020, 05:34 PM
Replies: 8
Views: 192
Posted By Adamoneoone
Re: When the player is freeze, it goes to afk mode

The include you've linked uses OnPlayerUpdate a lot (235 lines+ under the callback), so i'm doubting that he needs that.
Forum: Scripting Help 23/06/2020, 08:47 AM
Replies: 4
Views: 160
Posted By Adamoneoone
Re: symbol already defined: "@yH_OnScriptInit@003"

Try with return Y_HOOKS_CONTINUE_RETURN_1; instead of return 1;
Forum: Scripting Help 21/06/2020, 11:00 AM
Replies: 6
Views: 186
Posted By Adamoneoone
Re: SelectDynamicObject?

https://github.com/samp-incognito/samp-streamer-plugin/issues/147
It uses the normal SelectObject apparently.
Forum: Scripting Help 17/06/2020, 06:50 PM
Replies: 1
Views: 98
Posted By Adamoneoone
Re: Looking To Hire A Scripter For A Roleplay Server

Here is the correct place to post: https://forum.sa-mp.com/showthread.php?t=447813
That being said, free feel to join our scripting services discord (in my signature)
Forum: Scripting Help 17/06/2020, 05:29 PM
Replies: 2
Views: 134
Posted By Adamoneoone
Re: problem

You do realize that "problem" is not a correct title? Did you ever see anybody walk into a computer shop and say problem then wait?
Other than that, is it normal that you have ammo7 everywhere and...
Forum: Scripting Help 17/06/2020, 11:41 AM
Replies: 5
Views: 173
Posted By Adamoneoone
Re: [HELP]I want System Damage Car

There are some cases when the vehicle gets damaged but no exterior damage is actually taken by the vehicle, so it won't update in that case.
Forum: Scripting Help 17/06/2020, 11:09 AM
Replies: 5
Views: 173
Posted By Adamoneoone
Re: [HELP]I want System Damage Car

No denying that this was a ton of work and that Emmet's includes are generally good, I wouldn't recommend them to anybody due to the amount of stuff he puts under OnPlayerUpdate. Add two or three...
Forum: Scripting Help 17/06/2020, 09:30 AM
Replies: 5
Views: 173
Posted By Adamoneoone
Re: [HELP]I want System Damage Car

...then you have to create a script which will notify the driver that the car has taken damage.
Forum: Scripting Help 16/06/2020, 12:05 PM
Replies: 4
Views: 117
Posted By Adamoneoone
Re: How to get sounds ids from GENRL?

As for the reload and gun reloading sounds, I believe that you can find them in this file or that they're listed on the wiki (https://wiki.sa-mp.com/wiki/SoundID)
You can always try to either test...
Forum: Scripting Help 16/06/2020, 11:48 AM
Replies: 4
Views: 117
Posted By Adamoneoone
Re: How to get sounds ids from GENRL?

The sound ids are given in the gta sa folder, i don't remember the file's name but it's in there.
Forum: Scripting Help 16/06/2020, 09:43 AM
Replies: 2
Views: 98
Posted By Adamoneoone
Re: Mysql Helper System

Change these two things:
UPDATE `accounts` SET `HelperLevel`='%d' WHERE `Key`='%s'
to
UPDATE `accounts` SET `HelperLevel`=%d WHERE `Key`='%e' // you need to escape the string to avoid injection,...
Forum: Scripting Help 13/06/2020, 12:33 PM
Replies: 1
Views: 93
Posted By Adamoneoone
Re: scripter

https://forum.sa-mp.com/showthread.php?t=447813
Forum: Scripting Help 12/06/2020, 08:26 AM
Replies: 10
Views: 242
Posted By Adamoneoone
Re: Block/disable commands

You would have to declare a per-player variable like such
new InDM[MAX_PLAYERS];

In your commands you'd then add at the top
if(InDM[playerid] == 1) return SendClientMessage //or anything else,...
Forum: Scripting Help 12/06/2020, 07:46 AM
Replies: 6
Views: 232
Posted By Adamoneoone
Re: CPU 100%

Use this https://forum.sa-mp.com/showthread.php?t=271129 and show us what it outputs.
Forum: Scripting Help 11/06/2020, 09:27 PM
Replies: 3
Views: 114
Posted By Adamoneoone
Re: How to use the & specifier

Oh ok thank you so much guys, that makes it so much clearer!
Forum: Scripting Help 11/06/2020, 08:45 PM
Replies: 3
Views: 114
Posted By Adamoneoone
How to use the & specifier

Hello everybody, I've been searching this for quite a long time and haven't found my answer quite yet. If I missed a thread, please link it. Thanks in advance.

I'm basically trying to understand...
Forum: Scripting Help 11/06/2020, 03:45 PM
Replies: 4
Views: 147
Posted By Adamoneoone
Re: indentation warnings

If it only does a few mistakes like this, can't you correct them by hand?
Forum: Scripting Help 11/06/2020, 11:56 AM
Replies: 4
Views: 147
Posted By Adamoneoone
Re: indentation warnings

You could open it in some decent IDE (sublime/vscode) and try to match the brackets with the backet matching feature and indent them 1 by 1.

Otherwise you could try searching for online tools...
Forum: Scripting Help 09/06/2020, 11:40 AM
Replies: 4
Views: 171
Posted By Adamoneoone
Re: Global Chat ingame error

foreach(Player, i) is the old way to use foreach.
foreach(new i:Player) is how you'd want to do it.
Showing results 1 to 25 of 489

 

All times are GMT. The time now is 03:43 PM.


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