Raised This Month: $ Target: $400
 0% 

Changing models doesn't work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 12-29-2009 , 13:23   Changing models doesn't work
Reply With Quote #1

Somehow this does nothing, no models changed.
PHP Code:
public pChangeModels() {
    new 
Players[32
    new 
playerCountiid
    get_players
(PlayersplayerCount
    for (
i=0i<playerCounti++) { 
           
id Players[i]
        if(
cs_get_user_team(id) != CS_TEAM_T) return PLUGIN_HANDLED
        cs_set_user_model
(id"JailBreak")
    }
    
set_task(10.0"pChangeModels")

It's called in plugin_init().
Backstabnoob is offline
 



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 04:13.


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