Raised This Month: $32 Target: $400
 8% 

Class CT for BaseBuilder


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raul3w
Member
Join Date: Apr 2017
Old 05-08-2017 , 16:00   Class CT for BaseBuilder
Reply With Quote #1

Hi.
I want a plug-in for my BaseBuilder server, which I can play at the beginning of the round.
1.Player: m4a1 + deagle + 1 grenad freez,
2.Admin: Ak47 + deagle + 1 he grenade + freeze grenade.
3.Vip:AK47 + M4a1 + AWP + deagle +2 he grenade +2 freeze grenade
This menu can be chosen at the beginning of the round and the access of the vip is bit, and admin is a bitch, please be with the command / weapon and only once to access it.
Please help me with this plugin.
Raul3w is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 05-08-2017 , 16:38   Re: Class CT for BaseBuilder
Reply With Quote #2

Quote:
Originally Posted by Raul3w View Post
and admin is a bitch
__________________

Last edited by edon1337; 05-08-2017 at 16:38.
edon1337 is offline
Raul3w
Member
Join Date: Apr 2017
Old 05-12-2017 , 12:53   Re: Class CT for BaseBuilder
Reply With Quote #3

Quote:
Quote:
Originally Posted by Raul3w
and admin is a bitch
Grad acces its bitch for helper acces
Raul3w is offline
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 05-12-2017 , 14:43   Re: Class CT for BaseBuilder
Reply With Quote #4

I Creat This For You
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fun>
#include <cstrike>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

#define ADMIN_ACCES ADMIN_KICK // "c"
#define VIP_ACCES ADMIN_LEVEL_H // "t"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHam(Ham_Spawn"player""fw_spawn_post"1)
}

public 
fw_spawn_post(id)
{
    
/*------| Weapons M4a1 |-------------*/
    
give_item(id"weapon_m4a1")
    
cs_set_user_bpammoidCSW_M4A1100)
    
/*------| Weapons deagle |-------------*/
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammoidCSW_DEAGLE100)
    
/*------| Freez Grenade |-------------*/
    
give_item (id,"weapon_smokegrenade")
          
cs_set_user_bpammo(idCSW_SMOKEGRENADEcs_get_user_bpammo(idCSW_SMOKEGRENADE) + 1)    
    
/*------| Admin Spawn |---------------*/
    
Admin_Spawn(id)
    
/*------| ViP Spawn |-----------------*/
    
ViP_Spawn(id)
}

public 
Admin_Spawn(id){
    if( 
get_user_flags(id) & ADMIN_ACCES)
    {
         
give_item (id,"weapon_hegrenade")
         
cs_set_user_bpammo(idCSW_HEGRENADEcs_get_user_bpammo(idCSW_HEGRENADE) + 1)    
    }
}

public 
ViP_Spawn(id){
    if( 
get_user_flags(id) & VIP_ACCES)
    {
         
give_item (id,"weapon_hegrenade")
         
cs_set_user_bpammo(idCSW_HEGRENADEcs_get_user_bpammo(idCSW_HEGRENADE) + 1)    
    }

__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
Raul3w
Member
Join Date: Apr 2017
Old 05-13-2017 , 11:17   Re: Class CT for BaseBuilder
Reply With Quote #5

its problem
/tmp/text6cT1rN.sma(2) : fatal error 100: cannot read from file: " "
please complie amxx and download this topic.
Raul3w is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-13-2017 , 13:36   Re: Class CT for BaseBuilder
Reply With Quote #6

If you have an error, it's a problem with your files. The plugin compiles just fine.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Raul3w
Member
Join Date: Apr 2017
Old 05-14-2017 , 03:42   Re: Class CT for BaseBuilder
Reply With Quote #7

im complied web and my pc
Raul3w is offline
Reply


Thread Tools
Display Modes

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:51.


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