PHP Code:
ExecuteHamB(Ham_CS_RoundRespawn, id)
set_task(0.1, "RepeatRespawn", id + 51233);
//...
}
public RepeatRespawn(id)
ExecuteHamB(Ham_CS_RoundRespawn, id - 51233)
Sometimes when player will respawn, he will spawn at the info_player_start, but he don't have HUD, and weapon.
And sometimes it is working great. I tried to use once executeham too.
Or there is better way to respawn player?
edit:
amxx version
Quote:
AMX Mod X 1.8.3-dev+5095
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
Scott "DS" Ehlert
Compiled: Feb 23 2017, 04:28:22
URL:http://www.amxmodx.org/
|