Raised This Month: $ Target: $400
 0% 

VIP Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
NiQu
Veteran Member
Join Date: Nov 2009
Old 05-17-2010 , 22:39   Re: VIP Plugin
Reply With Quote #6

use set_task sir.

PHP Code:
public fwHamPlayerSpawnPost(player) {
    
set_task(5.0"giveNades"player);

PHP Code:
public giveNades(player)
{
    if(
get_user_flags(player) & ADMIN_LEVEL_H)
    {
        
give_item(player"weapon_hegrenade");
        
cs_set_user_bpammo(playerCSW_HEGRENADE2);
        
        
give_item(player"weapon_flashbang");
        
give_item(player"weapon_flashbang");
        
        
give_item(player"weapon_smokegrenade");
        
cs_set_user_bpammo(playerCSW_SMOKEGRENADE2);
        
        
give_item(player"item_assaultsuit");
        
        
give_item(player"item_thighpack");
    }

__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]

Last edited by NiQu; 05-17-2010 at 22:57.
NiQu is offline
 



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 03:33.


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