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: Spmn
Forum: Scripting Help 15/09/2018, 10:52 AM
Replies: 15
Views: 385
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: 435
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: 122
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: 4
Views: 166
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: 2,464
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: 782
Views: 155,811
Posted By Spmn
Forum: SA-MP 0.3.DL 20/07/2018, 11:02 PM
Replies: 2
Views: 425
Posted By Spmn
Re: PutPlayerInVehicle Problem

http://forum.sa-mp.com/showthread.php?t=645254
http://forum.sa-mp.com/showthread.php?t=645438
Forum: General 29/06/2018, 07:48 PM
Replies: 4
Views: 567
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: 990
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,199
Posted By Spmn
Re: SweeperPP | Turn On Sweper Car Brushes!

You should hook DestroyVehicle too.
Forum: Bug Reports 18/06/2018, 10:45 AM
Replies: 17
Views: 1,772
Posted By Spmn
Forum: Server Support 31/05/2018, 07:26 PM
Replies: 6
Views: 740
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, 04:43 PM
Replies: 202
[Plugin] Pawn.RakNet
Views: 71,644
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: 1,491
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, 10:29 PM
Replies: 1,777
Views: 276,701
Posted By Spmn
Re: YSF - kurta999's version

SetServerRuleFlags("version", CON_VARFLAG_RULE);
SetServerRule("version", "0.4");
Forum: Plugin Development 29/04/2018, 12:52 PM
Replies: 1,777
Views: 276,701
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, 04:15 PM
Replies: 22
Views: 5,827
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: 320
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: 202
[Plugin] Pawn.RakNet
Views: 71,644
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: 2,692
Posted By Spmn
Re: About string size cell numbers.

CPU will be fine tho.
Forum: Plugin Development 26/02/2018, 07:47 PM
Replies: 202
[Plugin] Pawn.RakNet
Views: 71,644
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: 202
[Plugin] Pawn.RakNet
Views: 71,644
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: 33
Views: 6,136
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: 782
Views: 155,811
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, 08:48 PM
Replies: 7
Views: 1,380
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
Showing results 1 to 25 of 500

 

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


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