Raised This Month: $ Target: $400
 0% 

Modelchange for X-Time.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pedobear
Junior Member
Join Date: May 2009
Old 05-11-2009 , 10:24   Re: Modelchange for X-Time.
Reply With Quote #1

Thank you very much =).

Now that Part has been finished.

Im now trying to do this:

At first, an IF-Function that makes the Player invisible when hes not moving.

The 2nd, an IF-Function that only CT's can buy the item.

I know how to make players invisible but ive got problems with that both IF-Functions.

Do you know that too?
pedobear is offline
Howdy!
Senior Member
Join Date: Feb 2007
Old 05-11-2009 , 10:39   Re: Modelchange for X-Time.
Reply With Quote #2

Quote:
Originally Posted by pedobear View Post
Thank you very much =).

Now that Part has been finished.

Im now trying to do this:

At first, an IF-Function that makes the Player invisible when hes not moving.

The 2nd, an IF-Function that only CT's can buy the item.

I know how to make players invisible but ive got problems with that both IF-Functions.

Do you know that too?
1st: You can check if player speed is 0 and then set the invisibility.

2nd:
Code:
#define fm_get_user_team(%1) get_pdata_int(%1, 114) enum {     CS_TEAM_UNASSIGNED = 0,     CS_TEAM_T = 1,     CS_TEAM_CT = 2,     CS_TEAM_SPECTATOR = 3 }; if( fm_get_user_team( id ) == CS_TEAM_T ) {     client_print( id, print_chat, "Only ct's are allowed to buy this item." )     return 1; }
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! 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:24.


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