SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 478
Search took 0.01 seconds.
Search: Posts Made By: Spmn
Forum: Server Support 10/09/2019, 06:51 PM
Replies: 3
Views: 347
Posted By Spmn
Re: Profiler plugin

The output is generated when you close the server gracefully (CTRL+C) or when you stop the profiler by calling `Profiler_Stop()`
Forum: Plugin Development 16/06/2019, 02:18 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

Why don't you simply call `SetVehicleVelocity`? You should use this plugin to gain new features, not to reimplement existing ones.

Ontopic: `vehicleid` can't be uint8. It is uint16 more likely.
Forum: Plugin Development 13/06/2019, 08:11 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

iVerison is netgame version, which must be the same for every revision, otherwise new clients couldn't connect to servers. For instance, 0.3z-R1, 0.3z-R2 and so on share the same iVersion.
Forum: Scripting Help 14/04/2019, 09:18 PM
Replies: 2
Views: 211
Posted By Spmn
Re: Game lag when trying to preload animations

Use a timer and preload them in batches.
Forum: Scripting Help 01/01/2019, 12:21 PM
Replies: 7
Views: 1,646
Posted By Spmn
Re: Serious Discussion about TIMERS!

Use y_timers' ptask or any plugin that provides per-player timers.
Forum: Server Support 29/12/2018, 04:17 PM
Replies: 9
Views: 862
Posted By Spmn
Re: cheat of vehicles

Monitor OnVehicleMod and OnUnoccupiedVehicleUpdate
Forum: Scripting Help 15/09/2018, 09:52 AM
Replies: 14
Views: 741
Posted By Spmn
Re: Minimizing lines

Or delete the backslashes. They're unnecessary in your case.
Forum: Bug Reports 14/09/2018, 06:48 PM
Replies: 6
Views: 1,989
Posted By Spmn
Re: Vehicle X was not deleted [Trains]

No, they get unused ids, at least on 0.3.7. For instance, this (https://pastebin.com/4Zn6N1n1) script prints:
Model: 400 - ID: 1
Model: 401 - ID: 2
Model: 402 - ID: 3
Model: 403 - ID: 4

Model:...
Forum: Scripting Help 24/08/2018, 06:46 PM
Replies: 4
Views: 369
Posted By Spmn
Re: Error 079!

Move `Locale` definition below, so `ParseFile` is defined before the call. Looks like a compiler bug.

Anyway, returning strings is bad practice. You should use references.
Forum: Scripting Help 21/08/2018, 10:13 PM
Replies: 3
Views: 392
Posted By Spmn
Re: Check if something is included

https://github.com/samp-incognito/samp-streamer-plugin/blob/master/streamer.inc#L20
So check if `_streamer_included` is defined.

Zeex compiler doesn't generate include guards by default, so...
Forum: Everything and Nothing 16/08/2018, 07:46 PM
Replies: 33
Views: 4,443
Posted By Spmn
Re: Cheat folders and files?

As a guy who worked briefly on a clientside anticheat, I'd suggest you NOT to write an AC unless you actually have experience in modding or at least know how cheats and mods work.
First step is to...
Forum: Scripting Help 26/07/2018, 11:35 PM
Replies: 710
Views: 174,351
Posted By Spmn
Forum: General 29/06/2018, 06:48 PM
Replies: 4
Views: 833
Posted By Spmn
Re: QUERY

Not possible* unless the server you play on allows players to increase/decrease the nametags draw distance using a command or any other interface.

*possible = no hax
Forum: Scripting Help 26/06/2018, 12:46 PM
Replies: 31
Views: 1,485
Posted By Spmn
Re: String lenght is too high

However, dialogs can only show 4096 characters at most.
Forum: Includes 18/06/2018, 08:01 PM
Replies: 7
Views: 1,754
Posted By Spmn
Re: SweeperPP | Turn On Sweper Car Brushes!

You should hook DestroyVehicle too.
Forum: Plugin Development 31/05/2018, 03:43 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

Text length can't be uint8. Most likely it's uint16.
Forum: Bug Reports 16/05/2018, 04:53 PM
Replies: 4
Views: 2,269
Posted By Spmn
Re: GetActorPos is not working or updating!

The real bug is that actors aren't properly frozen on clients' screens and therefore they can be pushed away from their original position until they are restreamed or SetActorPos is used.
Forum: Server Support 28/04/2018, 03:15 PM
Replies: 17
Views: 7,596
Posted By Spmn
Re: SA:MP Exploit?/Freeze problem/Flood?/Ghost Bug

That bug was most likely addressed back in 0.3z in the sa-mp raknet code. (see messageholelimit and ackslimit cvars; iirc there's a post by kalcor explaining them)
However, the said exploit makes...
Forum: Scripting Help 17/04/2018, 08:57 AM
Replies: 8
Views: 472
Posted By Spmn
Re: I need your opinion

When I connect to a server, I expect it to be very straightforward and intuitive/easy to interact with. That textdraw click is pointless in this context and adds 1 unnecessary step to the login...
Forum: Plugin Development 14/04/2018, 12:09 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

Reverse SA-MP server or look into other projects(or leaks) that already did that.
Forum: Scripting Help 10/03/2018, 07:32 PM
Replies: 11
Views: 3,592
Posted By Spmn
Re: About string size cell numbers.

CPU will be fine tho.
Forum: Plugin Development 26/02/2018, 06:47 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

`uselos` type is `byte`, so you have to parse it as `PR_UINT8`.

LE: I don't get why don't you simply hook `Create(Player)3DTextLabel` function instead of going so lowlevel.
Forum: Plugin Development 17/02/2018, 02:20 PM
Replies: 254
[Plugin] Pawn.RakNet
Views: 114,137
Posted By Spmn
Re: Pawn.RakNet

SetPlayerDisableKeysSync(playerid, (KEY_FIRE & KEY_SPRINT & KEY_CROUCH));
I'm pretty sure you wanted to type OR instead of AND
Forum: Includes 26/01/2018, 10:29 PM
Replies: 34
Views: 9,899
Posted By Spmn
Re: actor_plus Useful functions/callbacks for actors

https://github.com/Dayrion/actor_plus/blob/master/actor_plus.inc#L24
this will trigger an error while compiling with default pawncc since #warning is a zeex compiler directive
Forum: Scripting Help 23/01/2018, 08:21 PM
Replies: 710
Views: 174,351
Posted By Spmn
Re: Today I learned - Share your newly found knowledge!

You should never append to (or even edit) string literals. You will go out of bounds and most likely rewrite other literals.
Showing results 1 to 25 of 478

 

All times are GMT. The time now is 07:26 AM.


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