Not sure if this will check everywhere of the floor but it checks the floor at least.
How can I make it so it checks everywhere
PHP Code:
for (new i=0; i<20; i++)
{
if(floorpos[i] == 0)
{
new userlocation[3]
get_user_origin(id, userlocation)
floorpos[i] = userlocation[2] // sets the floorpos with the users z posistion
floorpossets[i][0] = userlocation[0]
floorpossets[i][1] = userlocation[1]
floorpossets[i][2] = userlocation[2]
http://forums.alliedmods.net/showthread.php?p=139416
__________________