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 13/09/2019, 03:48 PM
Replies: 7
Views: 128
Posted By DRIFT_HUNTER
Re: Actor doubt

If you use native actors then yes, you need to create actor for each virtual world. If you use streamer then you can pass -1 as world and it will create actor in every world (to put it simply).
Forum: Includes 11/09/2019, 07:48 PM
Replies: 1,182
Views: 275,386
Posted By DRIFT_HUNTER
Re: Nex-AC - Anticheat system

@OstGot theoretical question. If im using RakNet plugin to modify player position shown to others, can such tampering cause conflicts with anticheat?
Forum: Server Support 11/09/2019, 05:35 PM
Replies: 3
Views: 124
Posted By DRIFT_HUNTER
Re: Profiler plugin

And make sure you have write access inside directory so that plugin can create file
Forum: Scripting Help 08/09/2019, 07:44 AM
Replies: 15
Views: 250
Posted By DRIFT_HUNTER
Re: Commands taking quite a long time to perform

Problem is the way you save player inventory. You are sending 40 queries and each time waiting for return (while there is none). You should use mysql_tquery or even mysql_pquery if you have more then...
Forum: Scripting Help 07/09/2019, 03:58 PM
Replies: 15
Views: 250
Posted By DRIFT_HUNTER
Re: Commands taking quite a long time to perform

Use profiler plugin https://forum.sa-mp.com/showthread.php?t=271129
Forum: Scripting Help 06/09/2019, 07:33 PM
Replies: 8
Views: 126
Posted By DRIFT_HUNTER
Re: CreateDynamicObject

CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance =...
Forum: Scripting Help 06/09/2019, 06:36 PM
Replies: 3
Views: 168
Posted By DRIFT_HUNTER
Re: Map Andreas question

Dont know anything about IsPointInWater/Tryg3D_MapAndreasFindZ functions and im a bit lazy to look at them.
Even thru its not an optimization you could use do while loop instead of while in these...
Forum: Server Support 06/09/2019, 04:28 PM
Replies: 14,326
Views: 1,714,022
Posted By DRIFT_HUNTER
Re: Looking for scripters/helpers? Post here!

Looking for someone interested in starting small drifting server with me. Nothing fancy just to be able to get onto server and have fun once in a while. I dont have any requirements besides some...
Forum: SA-MP 0.3.DL 02/09/2019, 03:38 PM
Replies: 4
Views: 1,074
Posted By DRIFT_HUNTER
Re: [Blender 2.8] gta-tools add-on.

Why dont you just use older blender release? What does blender 2.8 have that you need and 2.78/79 does not?
Forum: Scripting Help 22/08/2019, 11:39 AM
Replies: 18
Views: 357
Posted By DRIFT_HUNTER
Re: Level up check

I have no idea what you did and why you did some things but here is what i see.
new exp = (ReturnPlayerLevel(playerid) * 4);
exp is always 4 times bigger then ReturnPlayerLevel (unless it returns...
Forum: Scripting Help 19/08/2019, 10:04 PM
Replies: 10
Views: 199
Posted By DRIFT_HUNTER
Re: Compiling on linux

Just get https://github.com/pawn-lang/compiler and use something like Sublime or Visual Studio Code
Forum: Scripting Help 19/08/2019, 01:44 AM
Replies: 6
Views: 262
Posted By DRIFT_HUNTER
Re: High CPU usage, please help me

Try profiler plugin, it should tell you where the problem is when it happens.
Forum: Scripting Help 29/07/2019, 06:22 PM
Replies: 10
Views: 307
Posted By DRIFT_HUNTER
Re: Random array

There is nothing to optimize. Its not like you will have 10k of such strings. And even if you did, most of the time you will sacrifice ram in order to gain speed.
Forum: Scripting Help 28/07/2019, 12:32 PM
Replies: 5
Views: 106
Posted By DRIFT_HUNTER
Re: Doubt

if(IsEngineVehicle(vehicleid) && !IsATaxi(vehicleid)) GivePlayerWantedLevel(playerid, GRAND_THEFT_AUTO, TinyString);
Forum: Scripting Help 25/07/2019, 05:52 PM
Replies: 9
Views: 187
Posted By DRIFT_HUNTER
Re: FCNPC issue

Check if FCNPC plugin is loading, and make sure that include and plugin are same version (and that your script is compiled with correct plugin - that is you dont have multiple pawn compilers on your...
Forum: Everything and Nothing 06/07/2019, 08:01 PM
Replies: 17
Views: 821
Posted By DRIFT_HUNTER
Re: Favourite Genre of Music

Indie/Alternative
Forum: Scripting Help 24/06/2019, 06:46 AM
Replies: 3
Views: 137
Posted By DRIFT_HUNTER
Re: CreateDynamicObjectEx !?

https://convertffs.com/
Forum: SA-MP 0.3.DL 13/06/2019, 06:16 PM
Replies: 6
Views: 2,307
Posted By DRIFT_HUNTER
Re: SA-MP 0.3.DL - Custom Objects and skins limits.

My guess would be 65535 minus what is already used.
Forum: Discussion 08/06/2019, 07:07 PM
Replies: 14
Views: 960
Posted By DRIFT_HUNTER
Re: Which CMD system are you using?

Never understood people and speed optimization for calling command callback...Its not like player is gonna be using 5 commands every second (non stop). Just use what you feel comfortable with,...
Forum: Scripting Help 07/06/2019, 07:16 PM
Replies: 12
Views: 337
Posted By DRIFT_HUNTER
Re: Checking if player is in range of several points

You have floats for coordinates not integers

Float;PosX,
Float:PosY,
Float:PosZ
Forum: Scripting Help 05/06/2019, 05:29 PM
Replies: 22
Views: 517
Posted By DRIFT_HUNTER
Re: Random (Choose Player On Event)

Everything seems fine to me...
Forum: Everything and Nothing 05/06/2019, 04:50 PM
Replies: 5
Views: 450
Posted By DRIFT_HUNTER
Re: Can't access SAMP forum at all.

Try flushing DNS if you are on windows and restarting router if you have one (easiest way to flush DNS).
Forum: Scripting Help 05/06/2019, 04:45 PM
Replies: 22
Views: 517
Posted By DRIFT_HUNTER
Re: Random (Choose Player On Event)

Use y_iterate.inc (if you dont know what it is, its basically a more integrated foreach include into YSI).

Iter_Random(Iterator);
Forum: Discussion 03/06/2019, 06:25 PM
Replies: 6
Views: 492
Posted By DRIFT_HUNTER
Re: Inventory Structure

Keep things separate. In fact i would make containers for items and reuse them for things like vehicle storage, boxes and other stuff.
Forum: Scripting Help 23/05/2019, 07:31 PM
Replies: 12
Views: 343
Posted By DRIFT_HUNTER
Re: Buyvehicle

For god sake, add Crash Detect plugin already. Whenever your array gets out of bounds it will tell you. The size of the array will be one of the pointers on where to look.
Showing results 1 to 25 of 500

 

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


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