Raised This Month: $ Target: $400
 0% 

Solved VIP Weapons CT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SHIFT0
Senior Member
Join Date: Apr 2021
Location: Palestine
Old 08-14-2023 , 10:26   Re: VIP Weapons Skins CT
Reply With Quote #6

Quote:
Originally Posted by Tote View Post
if(cs_get_user_team(id) & CS_TEAM_CT)
Error: Undefined symbol "cs_get_user_team" on line 30
Error: Invalid expression, assumed zero on line 31
Warning: Expression has no effect on line 31
Error: Invalid expression, assumed zero on line 33
Error: Undefined symbol "OnChangeWeaponM4" on line 33
Error: Too many error messages on one line on line 33

Compilation aborted.
5 Errors.


Quote:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>


#define VipFlag ADMIN_LEVEL_C ADMIN_LEVEL_H

public plugin_init( )
{
register_plugin( "Vip models" , "1.0" , "Aooka" );

RegisterHam(Ham_Item_Deploy, "weapon_m4a1", "OnSelectM4", 1)
}

public plugin_precache( )
{
precache_model("models/vip_weapons/v_m4a1.mdl")
precache_model("models/vip_weapons/v_ak47.mdl")
precache_model("models/vip_weapons/v_deagle.mdl")
precache_model("models/vip_weapons/v_usp.mdl")
precache_model("models/vip_weapons/v_famas.mdl")
precache_model("models/vip_weapons/v_sg550.mdl")
precache_model("models/vip_weapons/v_awp.mdl")
precache_model("models/vip_weapons/v_xm1014.mdl")
}

public OnSelectM4(id)
{

if(cs_get_user_team(id) & CS_TEAM_CT)
}

public OnChangeWeaponM4(id)
{
set_pev(id, pev_viewmodel2, "models/vip_weapons/v_m4a1.mdl")
}
__________________
Thank You For Helps
Discord:
null.#0096
https://www.youtube.com/@NullHere/

Last edited by SHIFT0; 08-14-2023 at 10:27.
SHIFT0 is offline
 


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 07:44.


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