How to set user can't on ladder
I want to block one or some player climbed the ladder, but I do not know how to do it!
Please help me, thanks! |
Re: How to set user can't on ladder
Hook when player touches ladder and block it.
|
Re: How to set user can't on ladder
Thank you for your help, but I can not get the event of player contact with the ladder.
I tried the code: PHP Code:
PHP Code:
|
Re: How to set user can't on ladder
func_ladder and check if is valid ent
|
Re: How to set user can't on ladder
Please tell me exactly how to do and code demonstration!
register_touch( "player", "func_ladder", "FwdTouchLadder" ); public FwdTouchLadder(id, ent) { client_print(0, print_chat, "=======Touch===%d====%d====",id,ent); } The above code does not work... |
Re: How to set user can't on ladder
sorry; now i see this
Code:
This is an internal entity. When the map is compiled by VBSP it is processed and then removed: it does not exist when the map is running.Quote:
Quote:
|
Re: How to set user can't on ladder
Yes, I have been tried.But my purpose is to prevent players climb the ladder.
if( IsOnLadder(index) ) { // How can I stop or let him down? } |
Re: How to set user can't on ladder
PHP Code:
|
Re: How to set user can't on ladder
All that does is remove all the ladders from the map. He asked for blocking the passage, not removing them.
|
Re: How to set user can't on ladder
Try this.
Requirements: - Orpheu - PM Functions pack Code:
|
| All times are GMT -4. The time now is 00:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.