Thread
:
[TUT] Code Styling & Good Programming Habits
View Single Post
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
11-08-2012 , 13:08 Re: [TUT] Code Styling & Good Programming Habits
#
87
Quote:
Originally Posted by
B l e n d
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
}
0 is server index, so it is a global message.
__________________
https://amxmodx-es.com
Neeeeeeeeeel.-
View Public Profile
Send a private message to Neeeeeeeeeel.-
Find More Posts by Neeeeeeeeeel.-