- Joined
- Jun 19, 2009
- Messages
- 1,852
- Reaction score
- 5
Hello!
Aleh made a vip script(php).. I'm currently using his but I've changed my vip system now.. it's based on this script by Kekox
So my question is, cud someone change this php script so it works with the vip system I am currently using?
thanks!
Aleh made a vip script(php).. I'm currently using his but I've changed my vip system now.. it's based on this script by Kekox
So my question is, cud someone change this php script so it works with the vip system I am currently using?
PHP:
$vip = $SQL->query('SELECT `player_storage`.`player_id`, `player_storage`.`key`, `players`.`id` FROM `player_storage`, `players` WHERE `player_storage`.`player_id` = '.$player->getId().' AND `key` = 11551;')->fetchall();
if($vip[0]['key'] == 11551)
$vipp = '<center><font color="green"><b>VIP</b></font></center>';
else
$vipp = '<center><font color="red"><b>FREE</b></font></center>';
thanks!