I don't loop through players, I just check through players if "is player,not entity"
And this:
PHP Code:
new victim = read_data(2);
ResetItems(victim)
The same as this:
PHP Code:
ResetItems(read_data(2))
I think I know why return error:
PHP Code:
set_view(client,CAMERA_NONE);
This only can run when player is alive, but I need to set_view when he died, cuz I'm running in one place of plugin 3RDPERSON camera.