Raised This Month: $ Target: $400
 0% 

Help! about Changing PlayerModel


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lockyleung
Member
Join Date: Aug 2010
Old 08-21-2010 , 14:14   Help! about Changing PlayerModel
Reply With Quote #1

this amxx requires players to use custom player model.

First, SoccerJam mode is installed in my server. When the new round starts (due to the goal), some people will be kicked because of SZ_splace overflow error. How to fix it? (the amxx is attached)

PHP Code:
 /* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>

#define PLUGIN "player"
#define VERSION "1.2"
#define AUTHOR "naven"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Spawn"player""runda"1);
}
public 
runda(id){
    if(
cs_get_user_team(id) == CS_TEAM_T) {    
    if(
is_user_connected(id))
    
cs_set_user_model(id"winwin")
    }
    else if(
cs_get_user_team(id) == CS_TEAM_CT){
    
cs_set_user_model(id"gogo")
}
}
public 
plugin_precache(){
    
precache_model("models/player/winwin/winwin.mdl")
    
precache_model("models/player/gogo/gogo.mdl")

lockyleung is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-21-2010 , 14:41   Re: Help! about Changing PlayerModel
Reply With Quote #2

See the method used in PlayerModel by Connor.
__________________
Arkshine is offline
lockyleung
Member
Join Date: Aug 2010
Old 08-22-2010 , 08:10   Re: Help! about Changing PlayerModel
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
See the method used in PlayerModel by Connor.
sorry, i cannot search anything about the method used in playermodel by connor in this forum
lockyleung is offline
Ryokin
Senior Member
Join Date: Jan 2010
Old 08-22-2010 , 08:11   Re: Help! about Changing PlayerModel
Reply With Quote #4

Quote:
Originally Posted by lockyleung View Post
sorry, i don't know what u mean
Can u help me?
>> search plugin
__________________
NH4CL + NaOH -> NH3 + H2O + NaCL
Ryokin is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-22-2010 , 08:57   Re: Help! about Changing PlayerModel
Reply With Quote #5

http://forums.alliedmods.net/showthr...+models+connor
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
lockyleung
Member
Join Date: Aug 2010
Old 08-22-2010 , 09:04   Re: Help! about Changing PlayerModel
Reply With Quote #6

thank you all!!!!
lockyleung 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 21:51.


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