Hello, below code gives me error.
PHP Code:
#include <amxmodx>
#include <cs_player_models_api>
#include <zp50_core>
public plugin_precache() {
precache_model( "models/player/santa/santa.mdl" );
}
public zp_fw_gamemodes_start(id) {
if (zp_core_is_first_zombie(id)) {
cs_set_player_model( id, "santa" )
}
}
this error
PHP Code:
L 01/19/2014 - 01:54:41: [ZP] Invalid Player (0)
L 01/19/2014 - 01:54:41: [AMXX] Displaying debug trace (plugin "Test.amxx")
L 01/19/2014 - 01:54:41: [AMXX] Run time error 10: native error (native "zp_core_is_first_zombie")
L 01/19/2014 - 01:54:41: [AMXX] [0] FirstZombie.sma::zp_fw_gamemodes_start (line 10)
__________________