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: Abagail
Forum: Scripting Help 23/02/2018, 10:35 PM
Replies: 2
Views: 60
Posted By Abagail
Re: Pickup does not appear when far away in the sea

Is a GTA/client limitation outside of normal map boundaries IIRC.

http://forum.sa-mp.com/showthread.php?t=646954
Forum: Server Support 18/02/2018, 03:44 AM
Replies: 7
Views: 248
Posted By Abagail
Re: Problem with my server's CPU Usage.

Who says ~50 CPU usage is a bad thing, and why are you concerned about it? I hate to be that guy, but you should not expect good performance with "free ultra-h server".
Forum: Includes 17/02/2018, 05:05 PM
Replies: 4
[Include] GetObjectOffset!
Views: 447
Posted By Abagail
Re: GetObjectOffset!

Thank you, I will update this sometime soon to support both methods.
Forum: Scripting Help 17/02/2018, 05:03 PM
Replies: 7
Views: 107
Posted By Abagail
Re: Code not loading

What is CreatePlayerLabel doing? You cannot see 3D text labels attached to yourself.
Forum: Scripting Help 15/02/2018, 10:40 PM
Replies: 2
Views: 69
Posted By Abagail
Re: Vehicles on server got mixed up with IDs

Well, what has changed since around the time this stopped working? Can you track code changes?
Forum: Scripting Help 15/02/2018, 07:53 PM
Replies: 2
Views: 78
Posted By Abagail
Re: Expression has no effect

Adding 3 like that won't do anything as a single statement, you can do:

PlayerInfo[killerid][pKills] += 3;


This adds 3 to the current value. You can also do some other operations this way.
Forum: Scripting Help 15/02/2018, 05:13 PM
Replies: 6
Views: 109
Posted By Abagail
Re: Do you know what anim is that?

It's "camcrch_cmon", under "CAMERA".
Forum: Scripting Help 13/02/2018, 06:56 PM
Replies: 9
Views: 107
Posted By Abagail
Re: What is Bether?

Just using filterscripts on their own won't cause noticeable performance loss, it depends on the code being run. If you want to be able to reload mapping/modify the mapping script in real-time, you...
Forum: Scripting Help 12/02/2018, 07:46 PM
Replies: 8
Views: 111
Posted By Abagail
Re: Is it existing?

GetPlayerIngamePlayers could be anything, the naming isn't specific at all. It could return: a string of names of connected players, connected player count, an array of player IDs connected. What are...
Forum: Scripting Help 12/02/2018, 07:09 PM
Replies: 9
Views: 234
Posted By Abagail
Re: gettickcount or gettime

GetTickCount should be fine for use, although it won't persist properly across server restarts/crashes as the count will reset. If you save the value, use gettime.
Forum: Includes 12/02/2018, 12:06 AM
Replies: 65
Views: 4,891
Posted By Abagail
Re: (rAct) Anti Car Troll.

For compatibility reasons, I'd recommend using INVALID_PLAYER_ID instead of -1 in any case where a player isn't connected in a variable that would otherwise contain a player ID.
Forum: Scripting Help 11/02/2018, 12:44 AM
Replies: 5
Views: 257
Posted By Abagail
Re: Fists and damage callbacks.

Do:

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
new debug_string[40];
format(debug_string, sizeof debug_string, "%i, %i, %i, %i, %f",...
Forum: Includes 10/02/2018, 09:46 PM
Replies: 4
[Include] GetObjectOffset!
Views: 447
Posted By Abagail
GetObjectOffset!

This is a rewritten version of my old GetObjectOffset include. This should be more: optimized, user friendly, accurate. Unlike the old version, the two main functions are merged between regular &...
Forum: Scripting Help 09/02/2018, 08:40 PM
Replies: 7
Views: 167
Posted By Abagail
Re: Stock send message to admins.

This isn't a request section, it's a scripting help section. Have you tried doing it on your own, what obstacles are you facing in doing so?
Forum: Scripting Help 09/02/2018, 06:52 PM
Replies: 7
Views: 164
Posted By Abagail
Re: OnPlayerUpdate health

Whatever "pPoints" does, I'm sure it doesn't update on its own. You set it through the script, so you only need to update it when you change its value.

For health, the same goes. You can just use...
Forum: Scripting Help 08/02/2018, 06:36 PM
Replies: 4
Views: 107
Posted By Abagail
Re: stock IsPlayerInBusiness ?

The best way for accurate detection is a variable set when entering a business. Once they leave it, reset the var (account for other things such as admin teleports as well).

For more accuracy, you...
Forum: Scripting Help 07/02/2018, 08:27 PM
Replies: 5
Views: 106
Posted By Abagail
Re: Help with GetPlayerPos

Positions are floats, those numbers are the integer conversion. To show floats within format, you need to use the %f specifier.
Forum: Server Support 07/02/2018, 06:15 AM
Replies: 3
Views: 169
Posted By Abagail
Re: Swimming lag? How to fix

I heard something about FPS limiting to 48 FPS when swimming on the 0.3.8 RC. Not sure if this is what's happening or if this is true, regardless this should be in "Client Support" rather than...
Forum: Scripting Help 03/02/2018, 07:31 PM
Replies: 5
Views: 142
Posted By Abagail
Re: Help me fix injured system

If you don't need to use teams elsewhere, you can have everyone on the same team always. This prevents most player-to-player damage and iirc OnPlayerTakeDamage is still called. You'd have to set...
Forum: Scripting Help 29/01/2018, 09:27 PM
Replies: 2
Views: 89
Posted By Abagail
Re: Undefined Symbols even though they have stocks

If it's 26 errors, it's probably a missing bracket or similiar somewhere. Try using something such as this (https://gallery.technet.microsoft.com/Missing-Bracket-Finder-e0a5f0e1).
Forum: Scripting Help 28/01/2018, 06:44 PM
Replies: 4
Views: 153
Posted By Abagail
Re: god mode while /fly

You can use Float:0x7F800000 to set health to "unlimited", commonly defined as:

#define FLOAT_INFINITY (Float:0x7F800000)


Note that certain game events (explosion in vehicle, etc) are hard...
Forum: Scripting Help 27/01/2018, 05:26 PM
Replies: 2
Views: 113
Posted By Abagail
Re: Best way to NPC in 2018?

FCNPC I think is pretty much the only large NPC project still being updated. There was RNPC but I don't think Mauzen still updates it.

Be wary that FCNPC uses memory hacking, so won't work across...
Forum: Scripting Help 27/01/2018, 06:43 AM
Replies: 5
Views: 146
Posted By Abagail
Re: NGG Yom_buttons compile error

It hasn't even been 24 hours. You're not entitled to anything, as someone (I forget who) has in their signature, people help here in their spare time, for free. So if someone knows how to help you,...
Forum: SA-MP 0.3.DL 27/01/2018, 02:30 AM
Replies: 2
Views: 1,081
Posted By Abagail
Re: 0.3.DL with bugs of 0.3.8

I'm guessing R2 is to come sometime not too far away. This is probably just the base version for compatibility reasons.
Forum: Scripting Help 26/01/2018, 10:29 PM
Replies: 12
Views: 436
Posted By Abagail
Re: Server falling every 3rd day

What do you mean by "fall down"? Is the process no longer running, or people can't connect? What are the last things found within your server log? Is this some sort of shared host or is it a...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 03:48 PM.


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