View Single Post
B l e n d
BANNED
Join Date: Oct 2012
Location: Somewhere on the planet Tellus!
Old 11-08-2012 , 08:25   Re: [TUT] Code Styling & Good Programming Habits
Reply With Quote #85

Hey, why write "0"?

PunishUser( id )
{
#if defined KILL_USER
user_kill( id )
client_print( 0, print_chat, "[Kill] The user has been killed")
#else // KILL_USER
user_slap( id, 0 )
client_print( 0, print_chat, "[Kill] The user has been slapped")
#endif // KILL_USER
}
B l e n d is offline
Send a message via Skype™ to B l e n d