Code:
#include <amxmodx>
#include <engine>
public plugin_init()
{
register_touch("player","player","on_touch");
}
public on_touch(ptr,ptd)
{
if(ptr > 0 && ptr <= 32 && is_user_connected(ptr))
{
if(ptd > 0 && ptd <= 32 && is_user_connected(ptd))
{
// zomg a touch!
}
}
}
Or something..
__________________