Raised This Month: $ Target: $400
 0% 

zombie.mdl and i get gign


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shino
Senior Member
Join Date: May 2006
Old 05-18-2006 , 16:08   zombie.mdl and i get gign
Reply With Quote #1

in my plugin, i want bots to be zombies. i get to this:

Code:
public round_start() {     set_task(1.0,"SetBotToZombie") } public plugin_precache(){     precache_model("models/player/zombie/zombie.mdl") } public SetBotToZombie() {     new players[32],num,i     get_players(players,num)     for(i = 0; i <= num; i++) {         new id = players[i]         if(!get_cvar_num("amx_zombiebot")) {             return PLUGIN_HANDLED         }         if(is_user_bot(id) && is_user_alive(id)) {             set_user_health(id,get_cvar_num("amx_zombiebot_health"))             set_user_maxspeed(id,get_cvar_num("amx_zombiebot_speed"))             cs_set_user_model(id,"models/player/zombie/zombie.mdl")         }     }     return PLUGIN_CONTINUE }

i then compile the sma file, put the amxx file into plugins... shortly, everything is working as is shoud be.

then i go into the game, i wait a second, and bots reappear as normal, in gign model... after i kill one, it turnes to zombie from zombie.mdl and just stands at the place of kill. so, i have a problem... so, i beg you, if anyone could help me with this, so zombies would appear at first, not when i kill a bot.

shino is offline
 


Thread Tools
Display Modes

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 16:26.


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