Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Calling all Scripters!

Featured Replies

I am currently developing a project, that, as it stands is all web-based. ()

 

What I want to do is have an in-game mod that every few sec or when a player presses a key, it calls/requests a webpage with several variables including the players location, this webpage would then upload to a database which then would be translated into coordinates for my online map.

 

I have 10 years of IT experience in several fields including website design, web application development and design, digital advertising, logo design, as well as user end support. However, I don't have any experience with Script-hook, or GTA IV modding in general.

 

I want to know....

 

IS THIS POSSIBLE?

 

IF IT IS, WHO WOULD BE WILLING TO HELP? (I will pay!)

Edited by Commander Reefer

It is very much possible.  It is something I'm experimenting with for my clan, Liberty City Police.  I have a script set-up which will allows you to stop a ped and request their ID.  The script will pass the ped's gender to a PHP page, the PHP page will then select a random person from our database and send their information back to the script which is then displayed in-game.

 

The only issue I've come across at the moment is that of formatting the text in-game, it doesn't seem to respond to the common formatting options e.g. white space, /n and <br>, so I'm still figuring everything out.  But it is indeed possible. 

Edited by Braveheart

Serving Police Scotland PC.

Creator of Braveheart's Policing Script.

  • Author

It is very much possible.  It is something I'm experimenting with for my clan, Liberty City Police.  I have a script set-up which will allows you to stop a ped and request their ID.  The script will pass the ped's gender to a PHP page, the PHP page will then select a random person from our database and send their information back to the script which is then displayed in-game.

 

The only issue I've come across at the moment is that of formatting the text in-game, it doesn't seem to respond to the common formatting options e.g. white space, /n and <br>, so I'm still figuring everything out.  But it is indeed possible. 

 

What about getting the location of the player in-game?

What about getting the location of the player in-game?

 

That's very simple.  Player location is stored as a Vector3 (X, Y, Z) so you'd need to translate that into a 2D point for your map.

Serving Police Scotland PC.

Creator of Braveheart's Policing Script.

  • Author

That's very simple.  Player location is stored as a Vector3 (X, Y, Z) so you'd need to translate that into a 2D point for your map.

 

Ok, is that using scripthook?

 

Would you be interested in helping? You would be compensated very well. If not... do you know someone that could do this?

 

I am also willing to learn, just need a teacher... 

 

Thanks!


lol what kind of compensation would you be able to propose?
 
I'm asking only by curiousity.. I'm certainly not intrested ^^... I don't want to work on a project that will ask for money or for donation like we can read on your website...
 
By the way the answer is yes... you can do that via the scripthook... here is what I'm using to send user's position on my script with the scripthookdotnet

cadisClient.SendMyPosition(Player.Character.Position.X, Player.Character.Position.Y);

 
 
Good luck !

Edited by Stressed

  • Author

By the way the answer is yes... you can do that via the scripthook... here is what I'm using to send user's position on my script with the scripthookdotnet

cadisClient.SendMyPosition(Player.Character.Position.X, Player.Character.Position.Y);

 

 

Good luck !

 

 

Thank you very much for this information, However advertising your dispatch system was not necessary. Im glad your working on one too, however if your not interested in working together why would you use my forum topic to post some thing that your not going to make available? Seems pointless... "(ps: it's not really a WIP so I don't know if I'll ever finish it or ever make it availlable for download)" 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.