SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: DRIFT_HUNTER
Forum: Scripting Help 07/04/2020, 05:50 PM
Replies: 2
Views: 32
Posted By DRIFT_HUNTER
Re: Using the same enum multiple times?

Yes you can, and i would actually rename enum to something like e_vehitem just to make it more clear.
Forum: General 06/04/2020, 04:24 PM
Replies: 8
Views: 153
Posted By DRIFT_HUNTER
Re: Host.

^^ what he said, get a VPS, try to choose one with fast single core clock and fast internet connection.
Forum: Scripting Help 06/04/2020, 01:30 PM
Replies: 2
Views: 53
Posted By DRIFT_HUNTER
Re: Help with FCNPC

https://github.com/ziggi/FCNPC/releases/tag/v1.8.2

There are pre-releases but they are not recommended for production servers
Forum: Scripting Help 06/04/2020, 03:59 AM
Replies: 3
Views: 67
Posted By DRIFT_HUNTER
Re: More money in the bank ?

Its integer overflow so you cant (well you probably could if you played with abstract machine but its not worth it).
One way i would solve the problem is allow player to have multiple bank...
Forum: Scripting Help 04/04/2020, 07:15 PM
Replies: 3
Views: 56
Posted By DRIFT_HUNTER
Re: Help I get 0x000007b when compiling

Compilation speed mostly depends on your script and cpu. Even 2-3 minutes to compile is sometimes ok, and that is why some people use different modules for development and release.
Forum: Scripting Help 04/04/2020, 05:57 PM
Replies: 3
Views: 56
Posted By DRIFT_HUNTER
Re: Help I get 0x000007b when compiling

Thats strange...try redownloading pawn compiler
Forum: Scripting Help 01/04/2020, 07:56 PM
Replies: 3
Views: 61
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: 190
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: 79
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: 6
Views: 147
Posted By DRIFT_HUNTER
Forum: Scripting Help 26/03/2020, 01:48 PM
Replies: 5
Views: 75
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: 145
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: 120
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,747
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: 223
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: 191
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,227,731
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,589
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: 559
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: 559
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,443
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: 191
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...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:40 PM.


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