View Single Post
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 09-27-2012 , 10:41   Re: Getting certain IP adress
Reply With Quote #5

Quote:
Originally Posted by lucas_7_94 View Post
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.
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 09-27-2012 at 10:48.
Alka is offline