AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help! about Changing PlayerModel (https://forums.alliedmods.net/showthread.php?t=135986)

lockyleung 08-21-2010 14:14

Help! about Changing PlayerModel
 
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):twisted:

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")



Arkshine 08-21-2010 14:41

Re: Help! about Changing PlayerModel
 
See the method used in PlayerModel by Connor.

lockyleung 08-22-2010 08:10

Re: Help! about Changing PlayerModel
 
Quote:

Originally Posted by Arkshine (Post 1278036)
See the method used in PlayerModel by Connor.

sorry, i cannot search anything about the method used in playermodel by connor in this forum

Ryokin 08-22-2010 08:11

Re: Help! about Changing PlayerModel
 
Quote:

Originally Posted by lockyleung (Post 1278638)
sorry, i don't know what u mean:bacon:
Can u help me?

>> search plugin

drekes 08-22-2010 08:57

Re: Help! about Changing PlayerModel
 
http://forums.alliedmods.net/showthr...+models+connor

lockyleung 08-22-2010 09:04

Re: Help! about Changing PlayerModel
 
thank you all!!!!


All times are GMT -4. The time now is 21:51.

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