Raised This Month: $ Target: $400
 0% 

Model changing not working


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ares0016
Junior Member
Join Date: Jan 2005
Old 02-22-2005 , 11:51   Model changing not working
Reply With Quote #1

i could not find any thing that would allow some one to change others models for cs so i seached genarally for one
i came up with a ns plugin and editted it to cs.
here it is
Code:
/* 
Modelthem V.1.0
By Zamma
*/


#include <amxmod>
#include <amxmisc>
#include <cstrike>

public plugin_init() {
     register_plugin("tomodel", "1.0", "Zamma/tm16gods-ares")
     register_concmd("amx_model","modik", ADMIN_KICK,"<authid, nick or #userid>")
}

public plugin_precache(){
precache_model("models/player/neon_blue/neon_blue.mdl")

}

public modik(id,level,cid){
if (!cmd_access(id,level,cid,2))
      return PLUGIN_HANDLED
new arg[32]
read_argv(1,arg,31)
new player = cmd_target(id,arg,5)
if (!player) return PLUGIN_HANDLED
cs_set_user_model(id,"models/player/neon_blue/neon_blue.mdl")
show_hudmessage(player,"Your neon blue")
return PLUGIN_HANDLED
}
Ares0016 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 14:00.


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