PHP Error, when selecting/trying to buy package.
Code:
[05-Jul-2021 20:12:59 UTC] PHP Fatal error: Uncaught Error: Class 'Vikas5914\SteamAuth' not found in /home/zasurfco/phatboi/donate/prepare_payment.php:9
Stack trace:
#0 {main}
thrown in /home/zasurfco/phatboi/donate/prepare_payment.php on line 9
Quote:
Originally Posted by Arkarr
I explained how the rcon work :
sm_super_paypal_donation_rcon ""
Execute this RCON each time a player is eligble for admin rights!
If this rcon is less than 1 char (default), nothing will be executed. Also, you use '[STEAMID]' or '[PLAYER]' to target people and [PACKAGEID] to retrieve the package id.
sm_super_paypal_donation_rcon "sm_givevip [STEAMID] [PACKAGEID]"
Will execute something like :
sm_givevip STEAM_X:Y:ZZZZ 2
If player has bought package 2.
|
What I don't understand is the following..
sm_super_paypal_donation_rcon is meant auto execute a players steamid and package id right..
but What's the point of the sm_givevip? Just part of the Example? Since it's not part of the plugin.
Also how would I go by setting sm_super_paypal_donation_rcon to execute multiple different packages or does it automatically set the correct package id?
__________________