| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 244 online users. » 0 Member(s) | 240 Guest(s) Bing, Yandex, Applebot, Google
|
| Latest Threads |
GTA San Andreas - The mov...
Forum: Chat
Last Post: ontrelbranch
Today, 03:37 AM
» Replies: 1
» Views: 356
|
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
Yesterday, 03:36 PM
» Replies: 0
» Views: 28
|
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
Yesterday, 12:03 AM
» Replies: 41
» Views: 85,280
|
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 58
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
2026-04-24, 09:11 AM
» Replies: 0
» Views: 60
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 70
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 59
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 80
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 104
|
SOLS Roleplay (2026)
Forum: Advertisements
Last Post: TyDolla
2026-04-18, 04:47 PM
» Replies: 0
» Views: 131
|
|
|
| too resource-intensive array |
|
Posted by: Mark2 - 2019-04-19, 08:42 PM - Forum: Pawn Scripting
- Replies (5)
|
 |
I need to create an array(i choosed iterator)?of streamed players for every player. So i got PHP Code: Iterator:StreamedPlayers[MAX_PLAYERS]<MAX_PLAYERS>
But it's very?resource-intensive, what?can be used instead or may be i don't know something about streaming players?
P.S. I know that i can redefine MAX_PLAYERS to less value but i don't want to do it (1000 default).
|
|
|
|
| Client-side Scripts |
|
Posted by: Sasino97 - 2019-04-19, 05:20 PM - Forum: Questions and Suggestions
- Replies (6)
|
 |
Client-side Scripts
![[Image: zXSrDGv.png]](http://i.imgur.com/zXSrDGv.png)
A feature?that I discussed on Discord.
I think it would be an extremely useful feature, once the?open.mp team starts?working on the client.
This would have a lot of advantages, including optimization by removing the useless?amount of traffic sent between the server and the client, and a better responsiveness.
See the speedometer example in the image above. In a normal SA:MP server, the server is continuously asking the client for his velocity, the client answers, then the server tells the client to redraw the text draw, and so on. This forces the developer to be careful of how often to update the text draw, based on how many players does the server usually have, in order not to slow everything down.
Instead, if the server uploads a (compiled) script to the client upon the first connection, in a similar way to how 0.3DL models are uploaded, and then is able to tell the client when to start and stop its execution, then the speedometer example above can be made in a much more effective ways: the client itself, which knows its own vehicle speed, draws its own text draw as defined by the script, as many times per seconds as the developer wants. This creates a better responsiveness at zero bandwidth cost.
|
|
|
|
| Multiplayer for the New Edition of GTA SA (Android, iOS, UWP, Xbox 360) |
|
Posted by: Sasino97 - 2019-04-19, 04:34 PM - Forum: Questions and Suggestions
- Replies (5)
|
 |
Multiplayer support for the new edition of?GTA San Andreas
![[Image: GTA-San-Andreas-for-Android-Features.png]](https://oceanofapk.com/wp-content/uploads/2016/07/GTA-San-Andreas-for-Android-Features.png)
After having discussed this on the discord channel, I now think it's time to open a thread for this.?Let's start by saying that I know this isn't an easy task, at all. I know that there are major issues with this idea, but still I would like to put it forward.
The advantage of this is basically being able to play multiplayer in?GTA San Andreas in its newer version, that does not have a multiplayer yet (except for Android?which has this unofficial and unauthorized?SA:MP mod).
The main issues would be releated to:
- things that were added or removed in the new GTA SA
- the HUD placement, making it necessary for server developers to be aware on where to place text draw
- mantaining many different platforms all at once
- platform obstacles, mostly iOS and Xbox 360
Platforms that might be made:
- Android
- Windows 10 and Windows 10 Mobile
- iOS (most likely only jailbreaked devices)
- Xbox 360 (most likely?only on jailbreaked / flashed?devices, or maybe by using a proxy that runs out of the Xbox)
If there is enough interest in this thing, it's possible that in the future after the first open.mp client has been released,?I may start studying and developing it in my spare time,?based on open.mp source?code since it's open, and with the intention to keep it open source, aligned and up to date with open.mp.
|
|
|
|
|