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: DRIFT_HUNTER
Forum: Scripting Help 01/04/2020, 07:56 PM
Replies: 3
Views: 52
Posted By DRIFT_HUNTER
Re: How to make an include?

You need to hook OnPlayerConnect function.
Forum: Scripting Help 29/03/2020, 01:26 PM
Replies: 10
Views: 185
Posted By DRIFT_HUNTER
Re: [HELP] Pls Help

If its a shared hosting, contact them.

If not (you are using VPS or Dedicated server) and you have root access, install ubuntu, add i386 architecture, install libstdc++6 and build-essential as...
Forum: Scripting Help 29/03/2020, 12:57 PM
Replies: 3
Views: 77
Posted By DRIFT_HUNTER
Re: Max enum size / big enums drawbacks?

Well big enums should not have impact on performance. It doesnt matter if you add some variable in array or as single variable (not for performance).

The only potential drawback could be memory...
Forum: Scripting Help 27/03/2020, 12:29 PM
Replies: 7
Views: 143
Posted By DRIFT_HUNTER
Forum: Scripting Help 26/03/2020, 01:48 PM
Replies: 5
Views: 69
Posted By DRIFT_HUNTER
Re: Help!!!

https://forum.sa-mp.com/showthread.php?t=574725

Naming topics:

I should point out that the forum rules mention using good topic titles. This means that not only is it good practice, but is...
Forum: Scripting Help 09/03/2020, 09:15 PM
Replies: 6
Views: 136
Posted By DRIFT_HUNTER
Re: What's the problem here?

You are probably missing death reason, but i could be wrong...
RoOnPlayerDeath(playerid, reason)
Forum: Scripting Help 22/01/2020, 04:29 PM
Replies: 10
Views: 261
Posted By DRIFT_HUNTER
Re: Comparing names in an enum

strcmp function is returning 0 if both strings match, or one of them is empty. So first make sure that apt_owner is not empty before you compare it with player name.
Forum: Scripting Help 16/01/2020, 04:42 PM
Replies: 4
Views: 118
Posted By DRIFT_HUNTER
Re: MySQL not updating password

Check mysql log inside samp server folder. By the way, you should escape users input, that is password, you are escaping salt (that is probably generated by server).
Forum: General 12/11/2019, 04:51 PM
Replies: 16
Views: 4,666
Posted By DRIFT_HUNTER
Re: Skins for version 0.3.9

Some animals with proper animations would be nice...
Forum: Scripting Help 28/10/2019, 03:31 PM
Replies: 3
Views: 222
Posted By DRIFT_HUNTER
Re: samp-compact

Look better next time
https://github.com/AGraber/samp-compat/releases/tag/1.0.1
Forum: Scripting Help 26/10/2019, 09:25 PM
Replies: 1
Views: 132
Posted By DRIFT_HUNTER
Re: ClassSelection/AddPlayerClass Question

https://github.com/pawn-lang/YSI-Includes/wiki/y_classes
Forum: Scripting Help 22/10/2019, 04:34 PM
Replies: 3
Views: 189
Posted By DRIFT_HUNTER
Re: Russian Language Help

Not sure 100% but i think saving/opening file as UTF-8 should do the trick...
Forum: Plugin Development 13/10/2019, 11:13 AM
Replies: 5,545
[Plugin] Streamer Plugin
Views: 3,224,724
Posted By DRIFT_HUNTER
Re: Streamer Plugin

SetDynamicObjectMaterialText does not return Object ID, it returns success.
Forum: Filterscripts 11/10/2019, 05:59 PM
Replies: 22
[FilterScript] Remove Vending Machines
Views: 11,544
Posted By DRIFT_HUNTER
Re: Remove Vending Machines

For god sake, there is like 3 or 4 models, just use huge range and everything is done in 4 lines
Forum: Scripting Help 07/10/2019, 06:26 PM
Replies: 4
Views: 143
Posted By DRIFT_HUNTER
Re: Function Problem

If you use tags for function return, first you need to declare and define function and only after that you can use call it.
Forum: Scripting Help 07/10/2019, 04:25 PM
Replies: 23
Views: 556
Posted By DRIFT_HUNTER
Re: making a global timer

In that case you are probably corrupting files and such saving wont help you, you need scriptfiles backup in your case. You see, when GMX is called, server starts "closing" connections to clients and...
Forum: Scripting Help 06/10/2019, 02:12 PM
Replies: 23
Views: 556
Posted By DRIFT_HUNTER
Re: making a global timer

Let them be, they dont understand that with ini you need to read and rewrite whole file just to save single variable. But still, its always better to save stats the moment they are changed (except...
Forum: Everything and Nothing 06/10/2019, 02:08 PM
Replies: 8
Views: 1,409
Posted By DRIFT_HUNTER
Re: Is this possible to script?

Yes its possible and actually its pretty easy to do since you already have system that allows you to eat and restore HP instantly.
Forum: Scripting Help 04/10/2019, 06:35 PM
Replies: 7
Views: 189
Posted By DRIFT_HUNTER
Re: Converting from DINI to MySQL

If your gamemode is lagging because of dini, then something is wrong with your script. Use profiler plugin to see what is causing problems for you then think about converting. I never understood...
Forum: Includes 01/10/2019, 07:35 PM
Replies: 1,270
Views: 311,097
Posted By DRIFT_HUNTER
Re: Nex-AC - Anticheat system

Do you know how to read? I suggest you to return to elementary school and learn. He asked for minimal working example, i think that words themselves explain 90% of what he asked from you, and besides...
Forum: Includes 28/09/2019, 07:12 PM
Replies: 8
Views: 2,065
Posted By DRIFT_HUNTER
Re: perplayer.inc - collection of player-based functions (ForPlayer analogues)

Hood is always hidden if i remember correctly and players have black tapes over the screen due to aspect ratio (widescreen settings). Basically if you have wrong resolution and/or widescreen settings...
Forum: Includes 26/09/2019, 05:13 PM
Replies: 4
Views: 1,610
Posted By DRIFT_HUNTER
Re: Chat @mentiones system

Wow, simple yet useful. Is it me or these will also match email? xD
Forum: Scripting Help 26/09/2019, 04:25 PM
Replies: 3
Views: 205
Posted By DRIFT_HUNTER
Re: Is there something like that?

Use ColAndreas if you can.
Create array with landmasses and roads in SA.
Generate two random numbers from -3000 to 3000 (could be a bit less)
Raycast from high Z downwards to about -100.
Check...
Forum: Server Support 25/09/2019, 02:42 PM
Replies: 7
Views: 494
Posted By DRIFT_HUNTER
Re: GM communicate with a NodeJS API

Well samp has HTTP functions so yes, but there are also json and sockets plugins that you could use for that purpose.
Forum: Scripting Help 20/09/2019, 06:01 PM
Replies: 2
Views: 149
Posted By DRIFT_HUNTER
Re: If anyone can explain me what this is

Your question is way beyond scripting help forums, but then again others asked even worse questions and still got some kind of reply.

First of all, new and public are pawn language keywords. New...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:40 AM.


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