Main Menu

Recent posts

#51
Scripting Help / Re: client.player.position do...
Last post by Vortrex - June 07, 2025, 10:47:09 PM
client.player is only available serverside if native MP mode is disabled

Setting the position will also not work serverside because a client is actively syncing the element (the element in your case is a player ped). The server's position is reset when the next sync packet arrives from it's syncer. You will need to use a network event to tell the syncer client to set the position.

When using native MP mode, all elements are handled clientside. The server's only role in that mode is to broker connections. It has literally NO awareness of any elements in the game. If you need to use serverside elements, disable native MP mode.
#52
Scripting Help / client.player.position does n...
Last post by Collssdew - June 07, 2025, 07:06:54 PM
client.player does not work on the server-side you guys need to keep your wiki more up to date half the stuff on it don't even work lol, i have similar issues with some of the natives as well, i run this https://wiki.gtaconnected.com/ScriptingExamples/AddObject from you wiki on the server-side and get: You must be spawned to spawn an object! so clearly it's null for some reason, my server is 1.7.0 running on a linux machine my client is 1.7.12 for gta 4, someone else already said this months ago and got ignored... and where even are the object ids? i can't seem to find them anywhere
#53
Scripting Releases / Re: [JS] Map Editor
Last post by cxfrog - June 07, 2025, 08:12:58 AM
hai. can you Reupload it? Thanks
#54
Scripting Releases / Re: [SQ] Respawn Player After ...
Last post by cxfrog - June 07, 2025, 05:23:13 AM
page no found bro. pls renew
#55
Scripting Releases / Re: GTAC Essentials Resource -...
Last post by cxfrog - June 06, 2025, 11:36:31 AM
i got issue, if i upload that file into mySQL. i got annouce " #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '7z??'␜' at line 1 " Can you teach me how solved this problem? Thank you
#56
General Chat / Some Severs are unsupported
Last post by Poncho6996_ - June 05, 2025, 04:26:57 PM
I can join most servers, but some servers say "client not valid" and it will have me in SP. Any idea how to get my client to support more servers? Kinda new to GTAC but i never had this issue until i reinstalled IV and downgraded it fresh recently.
#57
General Chat / Linux Support
Last post by decay - June 04, 2025, 07:01:39 PM
I'm switching to linux and I'm wondering if anyone has any experience running the game and the connected client with wine or proton. Any guides or general advice would be appreciated. I'm especially interested in installing zmenu with it. I hope that is possible.
#58
General Chat / Re: How to change player skin?
Last post by decay - June 04, 2025, 06:58:40 PM
Don't know if you're still watching this thread but you can do it pretty easily with ZMenu by spawning a ped as your player model.
#59
General Chat / Connecting is infinity and doe...
Last post by Tung Tung Tung Sahur - May 23, 2025, 10:54:05 PM
Just download the client to play gta4 multiplayer, but there is endless connecting and i can't see any server in list. Can anyone help me and tell me how to fix it?
#60
General Chat / Crash/Freeze Problems Pls Help
Last post by Dirty_Dorris - May 09, 2025, 06:55:22 AM
when I try and host a Freeroam server on GTA4 I can play by myself, but as soon as someone else connects to the server GtaConnected crashes..