28.03.2019, 07:26
It does not matter what storage approach you use either it's INI, SQL, whatever database to assign the premium user...
However you cannot do this independently just by using sa-mp pawn natives, Paypal IPN API is made for web as the back-office
Connect your web script to access your user database, so the premium level is assigned by the web script, not the sa-mp server.. However, if you need a live update (i.e. when the player is online in game), you need to make some triggers to call in your sa-mp server, so you assign the premium level by pawn script, not by the web script.
However you cannot do this independently just by using sa-mp pawn natives, Paypal IPN API is made for web as the back-office
Connect your web script to access your user database, so the premium level is assigned by the web script, not the sa-mp server.. However, if you need a live update (i.e. when the player is online in game), you need to make some triggers to call in your sa-mp server, so you assign the premium level by pawn script, not by the web script.

