Raised This Month: $ Target: $400
 0% 

Bugged models.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kaspet
Member
Join Date: Jan 2009
Old 05-12-2010 , 12:26   Bugged models.
Reply With Quote #1

Hello. I have plugin Zombie swarm, ant there is alot off models.
And somehow CT wearing T models, and sometimes T wearing CT models for change delay.

How make instant model change ? without delay..

new currentmodel[32];
fm_get_user_model(id, currentmodel, sizeof currentmodel - 1);

if(!equal(currentmodel, player_model[id]))
{
set_task(0.1 + g_counter, "Task_Model", id + TASKID_MODEL)
g_counter += TASK_DELAY;
}

Sorry for bad english.

Last edited by kaspet; 05-12-2010 at 12:59.
kaspet is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-12-2010 , 16:15   Re: Bugged models.
Reply With Quote #2

The purpose of that is to delay model setting.
Therefore, it isn't "bugged".

The delay between setting multiple player models at once is used to help prevent the SVC_BAD error.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-13-2010 , 05:38   Re: Bugged models.
Reply With Quote #3

This method sucks, see the method provided in PlayerModel ( connor) which is the method used by CS and should be the only one to use.
__________________
Arkshine is offline
Reply


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 03:38.


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