Raised This Month: $ Target: $400
 0% 

[HELP] limit buy HP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-25-2015 , 18:21   Re: [HELP] limit buy HP
Reply With Quote #1

PHP Code:
new bool:g_iTem33 ]  // Create a bool for the item

public client_connectid )
{
    
g_iTemid ] = false  // set the bool to false when the player connect
}

public 
whatever_you_wantid )
{
    if( !
g_iTemid ] ) // check to see if it's true or false. if it's false give the player the item
    
{
        
give_itemid"your_weapon" )
        
g_iTemid ] = true // set it true when the player buy the item
    
}
}

public 
round_end()
{
    
arraysetg_iTem0sizeofg_iTem) ) // set it to false at the end of the round.

Here's a way
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode