Raised This Month: $ Target: $400
 0% 

makeing player skins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-07-2006 , 16:32   Re: makeing player skins
Reply With Quote #2

to make everyone on a server have a certain weapon model:
Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_precache()   {      precache_model("models/v_mymodel.mdl")  precache_model("models/p_mymodel.mdl") } public plugin_init() {  register_event("CurWeapon","event_curweapon","b") } public event_curweapon(id) {  new ammo, clip  if(get_user_weapon(id,ammo,clip) == CSW_AK47)  {   entity_set_string(id,EV_SZ_viewmodel,"models/v_mymodel.mdl")   entity_set_string(id,EV_SZ_weaponmodel,"models/p_mymodel.mdl")  } }

that will change the model of what you see when your holding the gun and when someone looks at you holding the gun.
just change CSW_AK47 to CSW_whatever gun the model is for.
and change mymodel (everywhere it is lsited) into the model name.

This will only work for counter-strike
__________________
DO NOT PM me about avp mod.
Rolnaaba 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 08:01.


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