Raised This Month: $32 Target: $400
 8% 

Help Plz [Urgent]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4dead
Member
Join Date: Jun 2012
Old 07-05-2012 , 05:39   Help Plz [Urgent]
Reply With Quote #1

Thanks To helper

#include <amxmodx>
#include <fakemeta_stocks>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <engine>


function ()
{
register_plugin(Model ,1.0, roHp)
RegisterHam(Ham_Spawn, "player", "fw_spawn_post",1)
}
public plugin_precache()
{
precache_model("models/player/ct.mdl")
precache_model("models/player/te.mdl")
}
new flags
flags = get_user_flags(id)

if( flags & ADMIN_LEVEL_A )
{ public fw_spawn_post(id)
if (!is_user_alive(id))
return HAM_IGNORED

new CsTeams:team = cs_get_user_team(id)

cs_set_user_model(id, team == CS_TEAM_CT ? "model_ct" : "model_t")

return HAM_IGNORED
}
cs_set_user_model
if( ~flags & ADMIN_LEVEL_H )

{ public fw_spawn_post(id)
if (!is_user_alive(id))
return HAM_IGNORED

new CsTeams:team = cs_get_user_team(id)

cs_set_user_model(id, team == CS_TEAM_CT ? "model_ct" : "model_t")

return HAM_IGNORED

}
}

Last edited by 4dead; 07-05-2012 at 06:08. Reason: Eror
4dead is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-05-2012 , 08:51   Re: Help Plz [Urgent]
Reply With Quote #2

1.Use [PHP]or [CODE] tags when posting codes.
2.You forgot to explain what it is you need help with.
3.Post in the request section.

PHP Code:
#include <amxmodx>
#include <fakemeta_stocks>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <engine>


function ()
{
register_plugin(Model ,1.0roHp)
RegisterHam(Ham_Spawn"player""fw_spawn_post",1)
}
public 
plugin_precache()
{
precache_model("models/player/ct.mdl")
precache_model("models/player/te.mdl")
}
new 
flags 
flags 
get_user_flags(id

if( 
flags ADMIN_LEVEL_A 
{ public 
fw_spawn_post(id)
if (!
is_user_alive(id))
return 
HAM_IGNORED

new CsTeams:team cs_get_user_team(id)

cs_set_user_model(idteam == CS_TEAM_CT "model_ct" "model_t")

return 
HAM_IGNORED
}
cs_set_user_model
if( ~flags ADMIN_LEVEL_H 

{ public 
fw_spawn_post(id)
if (!
is_user_alive(id))
return 
HAM_IGNORED

new CsTeams:team cs_get_user_team(id)

cs_set_user_model(idteam == CS_TEAM_CT "model_ct" "model_t")

return 
HAM_IGNORED



__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 01:01.


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