Quote:
Originally Posted by lucas_7_94
Try deleting the 1 from the get_user_ip.
|
Doing that will retrieve ip with port and he doesn't need that.
This will never work if
PHP Code:
set_task(35.0, "anouncment", id) // forgot a "n" => announcment
...
public announcment(id)
also global variable p_IP it's useless. Just retrieve user ip in a temp var when he connect then call the task with user id. When the task it's been executed check if player it's still connected, don't need to recheck for ip.
__________________