SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Pottus
Forum: Everything and Nothing 05/06/2019, 03:20 PM
Replies: 5
Views: 315
Posted By Pottus
Re: Can't access SAMP forum at all.

I had this problem another time a few years back. Pretty sure it isn't anything on my end. Just want to confirm that.
Forum: Everything and Nothing 05/06/2019, 01:28 AM
Replies: 5
Views: 315
Posted By Pottus
Can't access SAMP forum at all.

Not sure why but I am completely unable to access the samp forum from my ip. Is it something on my end. IP 99.235.187.XXX
Forum: Maps 26/05/2019, 04:00 PM
Replies: 2
Views: 740
Posted By Pottus
Re: Los Santos Re-make [PART 1]

It's kinda bland man.
Forum: Maps 26/05/2019, 03:57 PM
Replies: 4
Views: 938
Posted By Pottus
Re: Desktop Computer [Texture Studio Prefab]

I am surprised there are no prefab packs yet. Maybe no one has really taken the initiative to do it. But at least this is a start. I need to re-post the Texture Studio release soon so hey maybe I...
Forum: Scripting Help 26/05/2019, 03:49 PM
Replies: 5
Views: 118
Posted By Pottus
Re: How can I check all numbers from array?

Don't try that it won't work.... you goofed up dude. Also.....

- don't use client messages in sub-functions let the main routine do the work.
- Avoid using multiple returns and returning SCM...
Forum: Scripting Help 18/05/2019, 02:11 AM
Replies: 4
Views: 146
Posted By Pottus
Re: Is it possible to determine the color at the traffic light (object)?

He can easily use the allobjects array to find all traffic lights then just replace them with prefabs. That is pretty damn easy. The control system is the real work. Not to mention you also need to...
Forum: Scripting Help 18/05/2019, 12:47 AM
Replies: 3
Views: 72
Posted By Pottus
Re: How can I get the place of a player in a race each time they enter a checkpoint?

Here is what I did a while ago.....

- Add up the distance of all next checkpoints to the finish
- Calculate the distance to the next checkpoint
- Add those values together
- Do this for every...
Forum: Scripting Help 12/05/2019, 01:36 PM
Replies: 5
Views: 118
Posted By Pottus
Re: TextDraw not showing

These TD's are done completely incorrectly. Every time a player connects they will be created then the variable references lost! Eventually all textdraw slots will fill up.
Forum: Maps 11/05/2019, 12:29 AM
Replies: 4
Views: 629
Posted By Pottus
Re: Barbecue Restaurant

It's good but you should look at making trims with the floor texture against walls. There is poor transitions between different areas just that tile floor texture.

I should make tool in TS that...
Forum: Scripting Help 25/04/2019, 08:50 PM
Replies: 6
Views: 170
Posted By Pottus
Re: Refresh textdraw info (kills/deaths)

Wrong kind of textdraw as well! This is going to update for every player.
Forum: Scripting Help 21/04/2019, 04:48 AM
Replies: 3
Views: 78
Posted By Pottus
Re: Error: Position Selectable Textdraw

You didn't set the textsize.
Forum: Includes 12/04/2019, 01:11 AM
Replies: 10
Views: 1,404
Posted By Pottus
Re: Task-based (async) dialog handling with PawnPlus

Nice an alternative to using y_inline/y_dialog! I would guess it shouldn't be a problem to nest multiple dialogs within the same function?
Forum: Includes 10/04/2019, 01:56 AM
Replies: 8
Views: 734
Posted By Pottus
Re: multi-weapon2.inc - Multi-weapon switch system with a lot of features

Why not let the player decide which key they want? Allow the config to accept multiple possibilities.
Forum: Includes 07/04/2019, 05:03 PM
Replies: 11
Views: 1,324
Posted By Pottus
Re: Multi-Weapon - Able to switch to every weapon received

I see what you mean, but you should be able to determine the scroll order and you can determine if they scrolled up or down from that.
Forum: Includes 07/04/2019, 03:35 PM
Replies: 11
Views: 1,324
Posted By Pottus
Re: Multi-Weapon - Able to switch to every weapon received

Why would OPU cause any problems for that? No reason not to use it.
Forum: Includes 07/04/2019, 02:41 PM
Replies: 11
Views: 1,324
Posted By Pottus
Re: Multi-Weapon - Able to switch to every weapon received

Why not make it so it works when you switch weapons instead of pressing a key ?
Forum: Scripting Help 06/04/2019, 03:16 AM
Replies: 9
Views: 271
Posted By Pottus
Re: Array index out of bounds

That is not how you fix this type of error.
Forum: Scripting Help 06/04/2019, 12:38 AM
Replies: 9
Views: 398
Posted By Pottus
Re: Explode vehicle immediately

Man are you ever stupid. Read what I wrote, sure you found a way you like but that isn't always the case sometimes you need to change your thinking. In any case.

Rely on the server not the client....
Forum: Scripting Help 04/04/2019, 01:19 AM
Replies: 1
Views: 92
Posted By Pottus
Re: OnPlayerEditDynamicObject vehicle object

There is a lot involved in doing this.

https://github.com/Pottus/Texture-Studio/blob/master/filterscripts/tstudio/vehicles.pwn
Line 1646 - 1800
Forum: Scripting Help 03/04/2019, 12:28 AM
Replies: 9
Views: 398
Posted By Pottus
Re: Explode vehicle immediately

You don't need to set a players health to 0 to kill them. All that does is achieve death on the client, so register their death server side and respawn them. There is no need to set vehicle health...
Forum: Scripting Help 31/03/2019, 05:50 PM
Replies: 11
Views: 470
Posted By Pottus
Re: Coordinates of the sight

Try this.
Fire A weapon
Get the origin / hitpoint of the shot
Use https://wiki.sa-mp.com/wiki/VectorSize
Subtract the result this from camera front vector GetPlayerCameraFrontVector(playerid,...
Forum: Includes 30/03/2019, 03:05 PM
Replies: 25
Views: 2,806
Posted By Pottus
Re: TextDraw Streamer* - No more textdraw limits!

This does the same as that, I also bet you are wasting shit loads of player textdraws that should be global textdraws anyways.
Forum: Scripting Help 28/03/2019, 01:46 AM
Replies: 11
Views: 470
Posted By Pottus
Re: Coordinates of the sight

Why do you even need this ?
Forum: Scripting Help 26/03/2019, 11:17 PM
Replies: 11
Views: 470
Posted By Pottus
Re: Coordinates of the sight

Shots do not come from the center of the screen they are offset. So how do you expect this work? I am sure there is a way to do it but not the way you are trying.
Forum: Scripting Help 25/03/2019, 08:27 PM
Replies: 8
Views: 246
Posted By Pottus
Re: IF get vehicle speed?

Why not do it like this.

static bool:IsSpeeding[MAX_PLAYERS];

public OnPlayerUpdate(playerid)
{
// Get the seat this determines everything about what the player is doing with
// the...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 10:48 AM.


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