Opening doors AMXX 1.9
Hello everyone, can anybody tell me why the code doesn't work?
Code:
public plugin_init() {HTML Code:
-1718.500000 -1102.500000 152.500000 func_buttonCode:
public plugin_precache()Code:
public ButtonUse(iEnt, id, iActivator) {Code:
if(!pev_valid(g_iButtons[i]) || !g_iButtons[i] || iEnt != g_iButtons[i]) continue; |
Re: Opening doors AMXX 1.9
iEnt != g_iButtons[i]
Are u trying to use object that already used? what are u try to achive? |
Re: Opening doors AMXX 1.9
Quote:
Generally, wants to display client_print after opening the cell with the button (The button position is located in the file) |
Re: Opening doors AMXX 1.9
your event has already been called, because is in the post = true state.
Accordingly, you do not need to call the button press again. For a place to search by origin, it's better to do a search by targetname. Check what is in g_iButtons[i] , if there are any values there. |
| All times are GMT -4. The time now is 21:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.