SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Spmn
Forum: Includes 18/06/2018, 08:01 PM
Replies: 6
Views: 407
Posted By Spmn
Re: SweeperPP | Turn On Sweper Car Brushes!

You should hook DestroyVehicle too.
Forum: Bug Reports 18/06/2018, 09:45 AM
Replies: 18
Views: 721
Posted By Spmn
Forum: Plugin Development 02/06/2018, 04:27 PM
Replies: 37
Views: 8,787
Posted By Spmn
Re: SATTP - SA:MP Embedded Web server

I'm sure that the bug lies in the original code since the plugin gets loaded and then crashes while initializing the webserver.
Also, the linux build loads without errors, so my guess is that these...
Forum: Plugin Development 02/06/2018, 01:28 PM
Replies: 37
Views: 8,787
Posted By Spmn
Re: SATTP - SA:MP Embedded Web server

Here is a version of this plugin with sampgdk dependency removed: https://mega.nz/#!uIZRxICL!mBb-QkqYy-WyB6o5axWFmEQ9u68ZgdT-oncSBnFd6cE

Sorry, but I couldn't be bothered to host a github repo.
Forum: Server Support 31/05/2018, 06:26 PM
Replies: 6
Views: 556
Posted By Spmn
Re: Server doesn't appear on Internet tab

It might take a while until a new server gets registered on the masterlist. Wait 24h at least.
Forum: Plugin Development 31/05/2018, 03:43 PM
Replies: 201
[Plugin] Pawn.RakNet
Views: 59,685
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: 919
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: Plugin Development 29/04/2018, 09:29 PM
Replies: 1,763
Views: 260,114
Posted By Spmn
Re: YSF - kurta999's version

SetServerRuleFlags("version", CON_VARFLAG_RULE);
SetServerRule("version", "0.4");
Forum: Plugin Development 29/04/2018, 11:52 AM
Replies: 1,763
Views: 260,114
Posted By Spmn
Re: YSF - kurta999's version

Remove readonly flag from "version" rule and then you should be able to change it.
Forum: Server Support 28/04/2018, 03:15 PM
Replies: 22
Views: 4,679
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: 240
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: 201
[Plugin] Pawn.RakNet
Views: 59,685
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, 07:32 PM
Replies: 11
Views: 1,876
Posted By Spmn
Re: About string size cell numbers.

CPU will be fine tho.
Forum: Plugin Development 26/02/2018, 06:47 PM
Replies: 201
[Plugin] Pawn.RakNet
Views: 59,685
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: 201
[Plugin] Pawn.RakNet
Views: 59,685
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: 24
Views: 3,816
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, 08:21 PM
Replies: 760
Views: 144,703
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.
Forum: Server Support 09/12/2017, 07:48 PM
Replies: 7
Views: 1,160
Posted By Spmn
Re: Problem Internet Tab /Sacnr Monitor

SACNR list isn't maintained by SA-MP team. Post on their forums: https://forum.sacnr.com/forums/46-SACNR-Monitor
Forum: Server Support 19/11/2017, 11:38 AM
Replies: 7
Views: 463
Posted By Spmn
Re: SQL Injection.

You're mixing SA-MP PAWN and C.
SA-MP format() introduces %q specifier which escapes strings using sqlite engine.
Also, there is mysql_format() where you can actually use %e as pointed before.
...
Forum: SA-MP 0.3.DL 05/11/2017, 03:30 PM
Replies: 433
Views: 46,222
Posted By Spmn
Re: Suggestions for 0.3.8

Don't be immature, it's just a suggestion.

Cache folder can grow up in size very quickly, especially if I join multiple servers with artwork=1. Some users (me included) would like to keep system...
Forum: SA-MP 0.3.DL 05/11/2017, 02:36 PM
Replies: 433
Views: 46,222
Posted By Spmn
Re: Suggestions for 0.3.8

Selectable cache (and? screens) folder.
I wouldn't like my system partition polluted with random and potentially big mod files from dodgy servers.
Forum: Everything and Nothing 04/11/2017, 09:58 AM
Replies: 42
Views: 2,317
Posted By Spmn
Re: Why do SAMP players say "kk" for million?

Yet that code will produce an infinity loop.
Forum: Plugin Development 30/10/2017, 08:28 PM
Replies: 5,749
[Plugin] Streamer Plugin
Views: 2,765,459
Posted By Spmn
Re: Streamer Plugin

A workaround would be to hook `SetPlayerVirualWorld` and append `worldid` to `E_STREAMER_WORLD_ID` for all objects (if it is not already).
Forum: Scripting Help 29/10/2017, 08:52 PM
Replies: 3
Views: 358
Posted By Spmn
Re: Big AMX size

Text3D:Label = 0xFFFF

And that's how you just allocated a lot of memory for every label.
Forum: Scripting Help 21/10/2017, 09:25 PM
Replies: 3
Views: 225
Posted By Spmn
Re: Vehicle facing angle is bugged

Or you can set the Z-Angle under OnVehicleStreamIn (with a slight delay of ~300ms). Note that you must set the angle only 1 time after spawn, not at every OnVehicleStreamIn call.

But the...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 05:36 AM.


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