Raised This Month: $ Target: $400
 0% 

Some [Question to ask] !!!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-25-2009 , 22:35   Re: Some [Question to ask] !!!!
Reply With Quote #3

Quote:
Originally Posted by --kml-- View Post
Some question to ask

1.) how to make my own include? is it for shortening code?
like making a stock inside it .

2) Well , i have read a tutorial about bitsum operator so do i realy need to make bitsum_is_user_alive ?

3) So , How to check if a player is lagging or loosing fps?

4) how to spawn a sprite like the HP sprite ( is it a sprite?)
means by if i move the sprite still is sticking it to the screen and not lagging .


i will ask more if i am not sure about something

and thx if u help


1) Put stuff in a <filename>.inc file and then put "#include <filename>" (with angle brackets this time lol).
2) You obviously didn't understand that tutorial. Use something like this:

PHP Code:
new bitsum_is_alive

// Set whether or not they are alive:

if( is_user_alive(id) )
{
    
bitsum_is_alive |= (1<<id)
}
else
{
    
bitsum_is_alive &=  ~(1<<id)
}

// Then use the following to check and see if they are alive:

if (bistum_is_alive & (1<<id)) 
{
    
// User is alive.

3) Why?
__________________
fysiks 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 15:31.


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