![]() |
Check if a player is on a wall.
I have searched the wiki about 5 times now and I still can't find the answer to my question. How do I check if a player is on a wall, in other words on a blocked tile like a wall tile or a roof tile? It may sound a little bit weird asking a simple question like this, but I can't find the answer!
|
PHP Code:
|
Quote:
|
Quote:
|
Dusty made a killer thread on this kinda stuff :)
http://forums.graalonline.com/forums...hp?t=134258376 Read up and become a wiz =P |
I kept playing around, and this is what I got.
PHP Code:
|
You will want to check
Quote:
However, it might be better to set a var on staff such as clientr.staff = 1 That way you won't have to list your admins in each system, you can just check player.clientr.staff |
True, it would be easier to make it recognize staff members, but it is more customize able if I can enter staff into a field and have it recognize them there. The idea is a good one though, but unfortunately I am no longer working on this. Thank you 0pix0 anyway.
|
Not a good way to check for wall hackers, and there are quite a few flaws in your code.
|
Quote:
|
| All times are GMT +2. The time now is 02:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.