SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 482
Search took 0.01 seconds.
Search: Posts Made By: Spmn
Forum: Server Support 10/09/2019, 07:51 PM
Replies: 3
Views: 285
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, 03:18 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
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, 09:11 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
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, 10:18 PM
Replies: 2
Views: 180
Posted By Spmn
Re: Game lag when trying to preload animations

Use a timer and preload them in batches.
Forum: Discussion 01/01/2019, 01:21 PM
Replies: 7
Views: 1,180
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, 05:17 PM
Replies: 9
Views: 693
Posted By Spmn
Re: cheat of vehicles

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

Or delete the backslashes. They're unnecessary in your case.
Forum: Bug Reports 14/09/2018, 07:48 PM
Replies: 6
Views: 1,253
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, 07:46 PM
Replies: 4
Views: 340
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, 11:13 PM
Replies: 3
Views: 361
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, 08:46 PM
Replies: 33
Views: 3,877
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: Discussion 27/07/2018, 12:35 AM
Replies: 709
Views: 168,882
Posted By Spmn
Forum: General 29/06/2018, 07:48 PM
Replies: 4
Views: 783
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, 01:46 PM
Replies: 31
Views: 1,381
Posted By Spmn
Re: String lenght is too high

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

You should hook DestroyVehicle too.
Forum: Plugin Development 31/05/2018, 04:43 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
Posted By Spmn
Re: Pawn.RakNet

Text length can't be uint8. Most likely it's uint16.
Forum: Bug Reports 16/05/2018, 05:53 PM
Replies: 4
Views: 2,179
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, 04:15 PM
Replies: 17
Views: 7,284
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, 09:57 AM
Replies: 8
Views: 443
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, 01:09 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
Posted By Spmn
Re: Pawn.RakNet

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

CPU will be fine tho.
Forum: Plugin Development 26/02/2018, 07:47 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
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, 03:20 PM
Replies: 222
[Plugin] Pawn.RakNet
Views: 102,291
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, 11:29 PM
Replies: 34
Views: 9,232
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: Discussion 23/01/2018, 09:21 PM
Replies: 709
Views: 168,882
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 482

 

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


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