Raised This Month: $ Target: $400
 0% 

some noob-questions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
simple_user
Member
Join Date: Apr 2012
Location: Latvia, the cube
Old 05-03-2012 , 16:43   some noob-questions
Reply With Quote #1

1) what does this mean? :
if (!killer || !victim) // ! in front of id ?

for example, I know that:
if ( killer != gSuperPlayerCT || killer != gSuperPlayerT ) // means if a is not equal to b or a isn't equal to c

2) and what is the differences between these:

public (weaponId)

if(weaponId == CSW_KNIFE)
{
do...
}


and this:

new weapon = get_user_weapon(id);

if(weapon == CSW_KNIFE)

{
do...

}
simple_user is offline
Send a message via Skype™ to simple_user
 



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 00:25.


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