Hello. How can i write plugins better ?
My questions :
Which one i should use ?
Only is_user_alive...
Code:
if(is_user_alive( id ))
{
... is this enough?
}
Or alive and connect check ?
Code:
if(is_user_connected( id ) && is_user_alive( id ))
{
..
}
Includes :
If i include <cstrike> for just using "cs_set_user_money" code, does this slow down the server ? Should i make a stock for set_user_money ?
Last Question : Is there any tutorial to write better ?
__________________