Jump to content

PHP code trigger mta code


holuzs

Recommended Posts

Posted (edited)

Hello! [ENG]

I want to make a sms paying script. So, when I send a text to a mobile number, the sms aggregator open(/trigger) my php code. When the php code opened, I want to approve the buying, and give the premium points to player immediately on the server. (Sorry for my bad english skills. xd)

Hali! [HUN]

Szeretnék csinálni egy EDSMS jóváírós scriptet, viszont fogalmam sincs hogyan kéne a php kódot úgy megcsinálni, hogy az MTA-n megírt scriptet meghívja. Ugye MTAra az account idjét (amit megadott a prefix után) illetve a jóváírandó összeget szeretném átvinni. (Azt már sikerült megoldanom hogy phpmyadminba jóváírja, de akkor reconnect kell hogy megkapja.)

AggregatorAggregator

Edited by holuzs
  • Moderators
Posted

https://wiki.multitheftauto.com/wiki/PHP_SDK

 

[HUN]

Egyébként csinálhatod azt is, hogy mindig SQL-ből kérdezed le és ott is módosítod mindig.

Különösebb erőforrást nem igényelne, mert viszonylag keveset van használva a PP. (Persze ha folyamatosan HUD-on szeretnél renderelni, akkor nem) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...