Raised This Month: $51 Target: $400
 12% 

vexd model tfc


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ClockworkOrange
Junior Member
Join Date: Aug 2004
Old 08-23-2004 , 14:51   vexd model tfc
Reply With Quote #1

can someone convert this to amxx, i cant get it to convert..





#include <amxmod>
#include <amxmisc>
#include <Vexd_Utilities>

public Vexd_PlayerModel(id,level,cid){
if (!cmd_access(id,level,cid,2))
return PLUGIN_HANDLED

new arg[32]
new szSkin[32]

read_argv(1,arg,31)
new player = cmd_target(id,arg,5)

if (!player) return PLUGIN_HANDLED
new authid[16],name2[32],authid2[16],name[32]
get_user_authid(id,authid,15)
get_user_name(id,name,31)
get_user_authid(player,authid2,15)
get_user_name(player,name2,31)

read_argv(2, arg, 31)
read_argv(3, szSkin, 31)
TFC_SetModel(player, arg, szSkin)

return PLUGIN_HANDLED_MAIN
}

public Vexd_ClearModel(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
new authid[16],name2[32],authid2[16],name[32]
get_user_authid(id,authid,15)
get_user_name(id,name,31)
get_user_authid(player,authid2,15)
get_user_name(player,name2,31)

TFC_ClearModel(player)

return PLUGIN_HANDLED_MAIN
}

public plugin_init(){
register_plugin("Vexd Model chnage","0.01","default")
register_concmd("amx_setmodel","Vexd_PlayerMo del",ADMIN_KICK,"<authid, nick or #userid> <name of model>")
register_concmd("amx_clearmodel","Vexd_ClearM odel",ADMIN_KICK,"<authid, nick or #userid>")
return PLUGIN_CONTINUE
}
ClockworkOrange is offline
Reply



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 13:40.


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