Raised This Month: $ Target: $400
 0% 

native + player model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 11-11-2013 , 09:04   native + player model
Reply With Quote #1

Hy allied modders users i try to use player models plugin witch sets player models CT and TE, but i have a server with a random ct player santa , the player models plugin sets the model for santa too

I whant that santa to have a different model, and i have created a native
Code:
public native_get_santa ( id ) {
	return mosul [ id ] == true ? 1 : 0
}
and
Code:
	mosul [ id ] = true;
to that random santa, but this player_models sets it's own model how can i solve this ?
.SMA

i have added a check but nothing
Code:
public set_model ( id )
{
	if ( get_santa ( id ) )
		return 1;
.inc
Code:
#pragma reqlib "santa"

native get_santa ( id );
Attached Files
File Type: sma Get Plugin or Get Source (player_model_changer.sma - 222 views - 4.3 KB)
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 11-11-2013 at 09:05.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
 



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 23:18.


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