Code:
public advertising(id)
{
new ping[33]
new curtime[33]
get_user_ping(id,ping,32)
get_user_time(id,curtime,32)
if(is_user_alive(id))
if(is_user_connected(id))
{
client_print(id, print_chat, "Your ping is: %s , And the time: %s",ping,curtime)
}
}
should be more like that...
and get_user_time gives you how long the user has been playing in the server...
also this never is called, you probably want a set_task or something