View Single Post
Dkmuniz
Senior Member
Join Date: Jun 2013
Old 10-06-2016 , 23:02   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.0.0 / 06-10-16]
Reply With Quote #7

I found only one thing wrong on code!

On taser, the credits are from bhop! Only this
PHP Code:
void Item_Taser(int clientchar [] name)
{
    if (
IsPlayerAlive(client))
    {
        
g_iCredits[client] -= gc_bBhop.IntValue;
        
Forward_OnPlayerBuyItem(clientname);
        
        
int taser GivePlayerItem(client"weapon_taser");
        
SetEntProp(taserProp_Send"m_iPrimaryReserveAmmoCount"0);
        
SetEntProp(taserProp_Send"m_iClip1"3);
        
        
CPrintToChat(client"%t %t""shop_tag""shop_taser");
        
CPrintToChat(client"%t %t""shop_tag""shop_costs"g_iCredits[client], gc_bBhop.IntValue);
    }
    else 
CPrintToChat(client"%t %t""shop_tag""shop_alive");

Dkmuniz is offline