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: Plugin Development 13/10/2019, 11:13 AM
Replies: 5,545
[Plugin] Streamer Plugin
Views: 3,108,495
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: 10,216
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: 92
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: 405
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: 405
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: 5
Views: 287
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: 136
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,207
Views: 280,768
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: 6
Views: 467
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: SA-MP 0.3.DL 28/09/2019, 04:39 PM
Replies: 9
Views: 612
Posted By DRIFT_HUNTER
Re: No longer listed on sa-mp.com?

Yeah, shame that 0.3.DL client is not backwards compatible with 0.3.7 by default. Even greater shame that servers are not using raknet plugin and include to allow that.
Forum: Scripting Help 26/09/2019, 05:36 PM
Replies: 11
Views: 212
Posted By DRIFT_HUNTER
Re: Players/Objects/Pickups etc disappears

Well in that case i have no idea, try hooking creating and destroying functions and adding debug info...
Forum: Includes 26/09/2019, 05:13 PM
Replies: 2
Views: 324
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, 05:05 PM
Replies: 11
Views: 212
Posted By DRIFT_HUNTER
Re: Players/Objects/Pickups etc disappears

You are using streamer, my guess would be that you have to much "items" created at the same time for every player and streamer is simply doing what its supposed to do.
Forum: Scripting Help 26/09/2019, 04:25 PM
Replies: 3
Views: 159
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: 267
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 22/09/2019, 02:58 PM
Replies: 1
Views: 66
Posted By DRIFT_HUNTER
Re: OnPlayerEditDynamicObject Problem ! Help

Send whole OnPlayerEditDynamicObject function
Forum: Scripting Help 20/09/2019, 06:01 PM
Replies: 2
Views: 104
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...
Forum: Scripting Help 18/09/2019, 04:57 PM
Replies: 14
Views: 336
Posted By DRIFT_HUNTER
Re: Talk animations freeze player

ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
As you can see, third argument at the end is freeze, if you set it to 1 it will freeze...
Forum: Scripting Help 13/09/2019, 03:48 PM
Replies: 7
Views: 155
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,207
Views: 280,768
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: 206
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: 282
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: 282
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: 168
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: 193
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...
Showing results 1 to 25 of 500

 

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


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