Raised This Month: $ Target: $400
 0% 

Some Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-26-2009 , 02:58   Some Question
Reply With Quote #1

what is the meaning of this :

PHP Code:
if(!is_user_connectedid 
And this :

PHP Code:
if( is_user_connectedid 
__________________
ƒa†es™ is offline
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 06-26-2009 , 03:02   Re: Some Question
Reply With Quote #2

PHP Code:
if (!is_user_connectedid )) 
means "If user is not connected"

PHP Code:
if (is_user_connectedid )) 
means "If user is connected"

__________________
Emilioneri is offline
Send a message via Skype™ to Emilioneri
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-26-2009 , 04:24   Re: Some Question
Reply With Quote #3

Try to search yourself, you can find a description on the funcwiki : is_user_connected().
__________________
Arkshine is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 06-26-2009 , 12:30   Re: Some Question
Reply With Quote #4

PHP Code:
if(!is_user_connectedid 
This is opening a statement saying: "If the user is NOT connected."

PHP Code:
if(is_user_connectedid 
This is opening a statement saying: "If the user IS connected."

You can simply switch the statement by putting a "!" symbol before your operation.

In Pawn, and some other languages, "!" refers to "not" or "false."

A little bit like a Boolean expression.

Hope I helped.

BOYSplayCS 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 15:35.


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