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 24/05/2020, 01:27 PM
Replies: 5
Views: 151
Posted By DRIFT_HUNTER
Re: what's the problem with this string?

Its samp's limit, maximum SendClientMessage and input length is 144 characters.
Forum: Scripting Help 24/05/2020, 01:21 PM
Replies: 13
Views: 224
Posted By DRIFT_HUNTER
Re: Timers messing me up

Then you are not using plugin at all,actually you are loading it, but not using the right way since YSI will still use samp's timers.
Try https://github.com/pawn-lang/sa-mp-fixes or hook SetTimer...
Forum: Scripting Help 24/05/2020, 11:36 AM
Replies: 13
Views: 224
Posted By DRIFT_HUNTER
Re: Timers messing me up

Known samp server bug, use one of the timers plugin
Forum: Scripting Help 24/05/2020, 11:12 AM
Replies: 11
Views: 179
Posted By DRIFT_HUNTER
Re: Need help understanding how pwn works

No setting non online player position/health/weapons/etc... will not cause overflow, they all have check for that. Accessing array with size of MAX_PLAYERS while passing INVALID_PLAYER_ID, will cause...
Forum: Scripting Help 23/05/2020, 07:21 PM
Replies: 9
Views: 136
Posted By DRIFT_HUNTER
Re: Creating labels in game -> getting error at showing them

FilterLines(LabelInfo[i][lText], strlen(LabelInfo[i][lText])); // here it doesn't work anymore. this is not doing his job.


[i] should be [id] ????
Forum: Scripting Help 23/05/2020, 07:10 PM
Replies: 9
Views: 246
Posted By DRIFT_HUNTER
Re: Detect the clooser vehicle in a range

tmpdis is float and you are returning it as integer...
Use floatround to get integer or label function as Float (depending on what yo want to be returned)
Forum: Scripting Help 23/05/2020, 07:07 PM
Replies: 4
Views: 75
Posted By DRIFT_HUNTER
Re: Reseting something in MySQL

https://www.mysqltutorial.org/mysql-triggers/working-mysql-scheduled-event/
Forum: Scripting Help 23/05/2020, 05:47 PM
Replies: 11
Views: 179
Posted By DRIFT_HUNTER
Re: Need help understanding how pwn works

When you use get_player_respectpoints, it will call that function, what that function does in your case is just returns value from an array. Now if you call that function without saving returned...
Forum: Scripting Help 23/05/2020, 01:47 PM
Replies: 4
Views: 139
Posted By DRIFT_HUNTER
Re: Socket has failed to bind on port

Looks like process is not killed and still running, hence still using given port and when you try to start new process, that port is already taken by previous instance.
Forum: Server Support 12/05/2020, 07:38 PM
Replies: 3
Views: 208
Posted By DRIFT_HUNTER
Re: Question about AMX File Size

Probably some include(s), string(s) or static arrays.
Forum: Scripting Help 08/05/2020, 08:04 PM
Replies: 2
Views: 43
Posted By DRIFT_HUNTER
Re: Problem car

Not sure but it seems like you are printing SLOT instead of VehiclesInfo[slot][VehUID]
Forum: Scripting Help 27/04/2020, 02:18 PM
Replies: 3
Views: 85
Posted By DRIFT_HUNTER
Re: Objects are glitching

Too far away from land, that's known GTA SA bug (not just samp). Try moving map from negative coordinates to positive ones. (above LV land when you are looking at the map).
Forum: Scripting Help 27/04/2020, 02:16 PM
Replies: 3
Views: 127
Posted By DRIFT_HUNTER
Re: I need to translate a gamemode RUS=>ESP

You opened file in wrong encoding format. If you are using Sublime editor, file -> reopen with encoding and try UTF-8, Windows 1252 or one of the Cyrilic.
Forum: Scripting Help 23/04/2020, 03:12 PM
Replies: 2
Views: 78
Posted By DRIFT_HUNTER
Re: Simple Question about Actors

Should be possible with RakNet plugin.
https://forum.sa-mp.com/showthread.php?t=640306
Forum: Screenshots and Videos 21/04/2020, 06:03 PM
Replies: 9
Views: 495
Posted By DRIFT_HUNTER
Re: FCNPC Zombies attacking video

Whats the point? What is special about it? I mean its just goto function with colandreas...
Forum: Scripting Help 21/04/2020, 03:35 PM
Replies: 6
Views: 171
Posted By DRIFT_HUNTER
Re: MYSQL Syntax

Type is probably integer, and you are inserting it as string ( '9' ), remove quotes around %d where you format query.
EDIT: same for userid
Forum: Scripting Help 19/04/2020, 06:26 PM
Replies: 5
Views: 103
Posted By DRIFT_HUNTER
Re: 3DTextLabel design, simple question i think

Code documentation will always be your best friend in programming.
In these case, samp's wiki and this page in particular https://wiki.sa-mp.com/wiki/Create3DTextLabel
Forum: Scripting Help 19/04/2020, 06:19 PM
Replies: 7
Views: 232
Posted By DRIFT_HUNTER
Re: SSCANF Version

If you get invalid player id, thats problem with your code, not sscanf itself.
And by the way, making letters big and bold wont help you with your problem
Forum: Scripting Help 18/04/2020, 06:03 PM
Replies: 5
Views: 133
Posted By DRIFT_HUNTER
Re: Server Not Responding

My guess would be infinite loop...I could be wrong since i dont really know how samp's query work but if it is on separate process or thread it makes sense that you can see server online but cant...
Forum: Scripting Help 07/04/2020, 05:50 PM
Replies: 2
Views: 131
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: 12
Views: 935
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: 139
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: 130
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: 152
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: 152
Posted By DRIFT_HUNTER
Re: Help I get 0x000007b when compiling

Thats strange...try redownloading pawn compiler
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:58 PM.


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