But why would you want to allow only fall damage?
PHP Code:
arrayset(Shot, false, 33);
Use
sizeof instead of 33.
In the loop, cache
players[id](do something like
new player before the loop and inside do
player= players[id]). If you want to know why, read the wiki, it's explained there(look for reindexing arrays).
In
RemoveProtection you did not do what I told you.
Quote:
use new instead of static.
I would like you to use real offset names, so people understand your code:
PHP Code:
const m_pPlayer = 41 new id = get_pdata_cbase(Weapon, m_pPlayer , 4)
|
Remove
change_task(TASKID_SK);, it's not needed.
Otherwise looks ok, fix this and we'll see.
__________________