Raised This Month: $ Target: $400
 0% 

[HELP]Switch functions


Post New Thread Reply   
 
Thread Tools Display Modes
colossus
Member
Join Date: Sep 2013
Old 09-08-2013 , 02:36   Re: [HELP]Switch functions
Reply With Quote #11

Quote:
Originally Posted by SpaWn2KiLl View Post
This is the final code:
PHP Code:

public p_Spawn(id)
{
    if(!
is_user_connected(id) || !is_user_alive(id))
        return 
1;
    
    
// code.........

It is necessary to check if connected and also if he is alive? LOL

It's a bad check.
colossus is offline
red_bull2oo6
Senior Member
Join Date: Mar 2012
Location: Braila, Romania
Old 09-08-2013 , 07:02   Re: [HELP]Switch functions
Reply With Quote #12

it can only be checked if it`s alive.. since he must be connected to be alive.
he must have made it in a rush
__________________

My PC Themes . .
red_bull2oo6 is offline
SpaWn2KiLl
Member
Join Date: Aug 2012
Old 09-08-2013 , 13:00   Re: [HELP]Switch functions
Reply With Quote #13

I just copied the code he did and did what he asked...
__________________
SpaWn2KiLl 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 00:11.


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