Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL ^ E_NOTICE);
- include_once('shop.php');
- $rcon = new CServerRcon('127.0.0.1', 28015, '1212');
- if($rcon->Auth())
- {
- $rcon->rconCommand("serv.give [xfvalue_itemid] [xfvalue_itemname] 10");
- $rcon->rconCommand('say "Предмет с магазина выдан"');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement