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 22/01/2020, 05:29 PM
Replies: 10
Views: 121
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, 05:42 PM
Replies: 4
Views: 77
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, 05:51 PM
Replies: 16
Views: 3,862
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, 04:31 PM
Replies: 3
Views: 170
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, 10:25 PM
Replies: 1
Views: 97
Posted By DRIFT_HUNTER
Re: ClassSelection/AddPlayerClass Question

https://github.com/pawn-lang/YSI-Includes/wiki/y_classes
Forum: Scripting Help 22/10/2019, 05:34 PM
Replies: 3
Views: 166
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, 12:13 PM
Replies: 5,543
[Plugin] Streamer Plugin
Views: 3,175,995
Posted By DRIFT_HUNTER
Re: Streamer Plugin

SetDynamicObjectMaterialText does not return Object ID, it returns success.
Forum: Filterscripts 11/10/2019, 06:59 PM
Replies: 22
[FilterScript] Remove Vending Machines
Views: 11,120
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, 07:26 PM
Replies: 4
Views: 123
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, 05:25 PM
Replies: 23
Views: 485
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, 03:12 PM
Replies: 23
Views: 485
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, 03:08 PM
Replies: 8
Views: 1,096
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, 07:35 PM
Replies: 7
Views: 171
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, 08:35 PM
Replies: 1,231
Views: 294,469
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, 08:12 PM
Replies: 8
Views: 1,548
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, 06:13 PM
Replies: 3
Views: 986
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:25 PM
Replies: 3
Views: 188
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, 03:42 PM
Replies: 7
Views: 430
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, 03:58 PM
Replies: 1
Views: 80
Posted By DRIFT_HUNTER
Re: OnPlayerEditDynamicObject Problem ! Help

Send whole OnPlayerEditDynamicObject function
Forum: Scripting Help 20/09/2019, 07:01 PM
Replies: 2
Views: 128
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, 05:57 PM
Replies: 14
Views: 405
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, 04:48 PM
Replies: 7
Views: 202
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, 08:48 PM
Replies: 1,231
Views: 294,469
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, 06:35 PM
Replies: 3
Views: 287
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, 08:44 AM
Replies: 15
Views: 318
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...
Showing results 1 to 25 of 500

 

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


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