Raised This Month: $ Target: $400
 0% 

All models do not changes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-20-2006 , 16:16   Re: All models do not changes
Reply With Quote #6

Quote:
Originally Posted by Fighterzaka View Post
is_dedicated_server(id)
wtf?
a client cannot be a dedicated server.

Did you even read what Lord_Destros wrote?
This will work...
Code:
#include <amxmodx> #include <cstrike> public plugin_init() {     register_plugin("Simpsons EDIT", "1.1.1", "Fighter")     register_event("ResetHUD", "resetModel", "b") } public plugin_precache() {     precache_model("models/player/ctfun/ctfun.mdl")     precache_model("models/player/tfun/tfun.mdl") } public resetModel(id) {         if ( ! is_user_connected(id) || ! is_user_alive(id) )         return PLUGIN_CONTINUE         new CsTeams:userTeam = cs_get_user_team(id)         if ( userTeam == CS_TEAM_T )         cs_set_user_model(id, "tfun")         else if ( userTeam == CS_TEAM_CT )         cs_set_user_model(id, "ctfun")     else         cs_reset_user_model(id)         return PLUGIN_CONTINUE }
[ --<-@ ] Black Rose 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 04:51.


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