Raised This Month: $ Target: $400
 0% 

some noob-questions


Post New Thread Reply   
 
Thread Tools Display Modes
Old 05-03-2012, 17:26
simple_user
This message has been deleted by simple_user.
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-03-2012 , 17:29   Re: some noob-questions
Reply With Quote #2

Quote:
Originally Posted by simple_user View Post
So basically:

if(!killer || !victim) // means if there is a killer or victim
return;
{
client_print(victim, print_chat, "A person killed you, not the sunstroke
.")
}


?
nope;

and use [php][/php] for code

is
PHP Code:
{
if(!
killer || !victim)// means if there is a killer or victim
            
return;
client_print(victimprint_chat"A person killed you, not the sunstroke.")

__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 05-03-2012 at 17:29.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-04-2012 , 03:39   Re: some noob-questions
Reply With Quote #3

Quote:
Originally Posted by simple_user View Post
So basically:

PHP Code:
if(!killer || !victim//  if no killer or victim, return value 0. if there is a killer or victim then do something
return;
    {
       
client_print(victimprint_chat"A person killed you, not the sunstroke[/I][I].")
    } 
?
That code doesn't make sense anyways.

The if condition will be true if either there is no killer or there is no victim (which doesn't make sense).
__________________
fysiks 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:25.


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