SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 89
Search took 0.00 seconds.
Search: Posts Made By: PeppeAC
Forum: Scripting Help 20/05/2020, 10:14 AM
Replies: 3
Views: 129
Posted By PeppeAC
Re: object-physics include

https://pastebin.com/zGBs8rwt

Try looking at the soccer gamemode to see how to make interact player and ball

At the moment, it is not straightforward to make vehicle and objects interact, as...
Forum: Includes 07/06/2019, 08:37 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

A new update of the library is out

physics.inc v0.5

PHY_RollObject(objectid, toggle = 1, rollingmode = ROLLING_MODE_DEFAULT, ROLLING_MODE_ADVANCED)
More realistic rolling of the objects,...
Forum: Includes 18/05/2017, 01:09 PM
Replies: 42
Views: 13,422
Posted By PeppeAC
Forum: Includes 09/02/2016, 01:21 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

I have released a better version of Pool game:
http://forum.sa-mp.com/showthread.php?t=600413
Forum: Gamemode Scripts 07/02/2016, 07:06 PM
Replies: 28
Views: 18,596
Posted By PeppeAC
Pool Game (using Objects Physics)

Pool Game

This is a reproduction of the single player game. It requires physics.inc (http://forum.sa-mp.com/showthread.php?t=446286) include. I have to release it as a gamemode, because Objects...
Forum: Includes 20/01/2016, 08:08 AM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

Wow, I really appreciate it.
As soon as I can I will update the code.
Forum: Tutorials 03/09/2015, 04:18 PM
Replies: 91
Views: 26,694
Posted By PeppeAC
Re: Stop the abuse of stock!

I agree that people should stop using the term "stock" when they refer to functions, but I feel comfortable using stock for functions, when I'm writing gamemodes.

The reason is that I don't use...
Forum: General 21/07/2015, 07:51 PM
Replies: 14
Views: 1,672
Posted By PeppeAC
Italian forum

I'm here to request an italian forum in Languages section.

There are a lot of players and scripter in Italy, but there isn't a community where we can talk about SA-MP and development, so an...
Forum: Includes 07/07/2015, 12:06 PM
Replies: 153
[Include] YSI 4
Views: 85,719
Posted By PeppeAC
Re: YSI 4

Yes, I found the conversation between you and ****** about this bug on Github. Thanks for your fix, it saved my work.

I've a question. What happens if the query fails and the inline never gets...
Forum: Includes 06/07/2015, 10:03 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

I noticed that last version didn't compile, so I fixed and also updated foreach syntax.
Forum: Includes 06/07/2015, 01:33 PM
Replies: 153
[Include] YSI 4
Views: 85,719
Posted By PeppeAC
Re: YSI 4

Can two inlines in different function have the same name?

Es:


Function1()
{
inline OnLoad()
...
}
Forum: Server Support 06/07/2015, 12:54 PM
Replies: 83
Views: 41,907
Posted By PeppeAC
Re: Kicking X because they didn't logon to the game.

I'm experiencing this problem after I have updated my gamemode to use YSI 4.0, last BlueG MySQL Plugin with threaded queries and y_inline.

Any solution?
Forum: Scripting Help 07/06/2015, 09:35 AM
Replies: 6
Views: 1,061
Posted By PeppeAC
Re: What is wrong with physics.ini?

Try changing
#include <foreach>
with
#include <YSI\y_iterator>
in physics.inc
Forum: Scripting Help 24/05/2015, 11:12 AM
Replies: 14
Views: 2,552
Posted By PeppeAC
Forum: Scripting Help 24/05/2015, 07:33 AM
Replies: 14
Views: 2,552
Posted By PeppeAC
Re: Project SAPhysics

Sharing the code would help us to contribute
Forum: Includes 24/05/2015, 07:05 AM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

Now that ColAndreas (http://forum.sa-mp.com/showthread.php?t=560218) has been released, you can fully use the new features of the include.
http://www.youtube.com/watch?v=QKHDK_vogYE
Forum: Includes 30/04/2015, 08:26 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Forum: Includes 30/04/2015, 05:07 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

Thanks, it should help improving the code.

Does a vertical raycast up to the ground work well on inclines?
CA_GetReflectionVector(X, Y, Z, X, Y, Z - 1000.0, x, y, z);
Forum: Scripting Help 28/04/2015, 12:30 PM
Replies: 21
Views: 5,082
Posted By PeppeAC
Re: Actors position not being updated!

This can't be fixed, because the server doesn't handle animations and collisions data.
Forum: Scripting Help 27/04/2015, 04:10 PM
Replies: 13
Views: 4,614
Posted By PeppeAC
Re: Actor animation desync

A callback such as OnActorStreamIn will fix it
Forum: Scripting Help 27/04/2015, 01:04 PM
Replies: 1,163
Views: 756,050
Posted By PeppeAC
Re: SA-MP 0.3.7 RC6

What is the limit number of actors?
Forum: Includes 15/04/2015, 07:48 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Forum: Includes 15/04/2015, 12:15 PM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

I don't why, but indentation is messed up when I upload the include on GitHub.
Does someone know how to fix it?
Forum: Includes 15/04/2015, 11:36 AM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

Objects Physics 0.4 released on GitHub
Added ColAndreas support, put #define COLANDREAS before including physics.inc to activate it. Related function: PHY_UseColAndreas(objectid, mode).
New...
Forum: Includes 14/04/2015, 08:44 AM
Replies: 240
Views: 75,093
Posted By PeppeAC
Re: [alpha] Objects Physics - Handle objects collisions and more.

For anyone needs foreach.inc and modelsizes.inc:
https://gist.githubusercontent.com/Y-Less/8815749/raw/dc347d48e23eb00da06be2a30b355c0c85b0fce2/foreach.inc...
Showing results 1 to 25 of 89

 

All times are GMT. The time now is 12:37 PM.


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