PHP Code:
L 12/26/2012 - 11:06:33: [AMXX] Displaying debug trace (plugin "expmodsql.amxx")
L 12/26/2012 - 11:06:34: [AMXX] Run time error 4: index out of bounds
L 12/26/2012 - 11:06:34: [AMXX] [0] expmodsqlzname.sma::forward_PlayerPreThink (line 366)
Code:
PHP Code:
public forward_PlayerPreThink(id)
{
if(is_user_connected(id) && is_user_alive(id) && !is_user_bot(id) && id != 0) {
pev(id, pev_flFallVelocity, falling_speed[id]);
new text[512];
format(text,511,"Poziom: %i/50 | Doswiadczenie: %d/%d (+%d)",PlayerLevel[id],exp[id],LEVELS[PlayerLevel[id]], LEVELS[PlayerLevel[id]] - exp[id]);
message_begin(MSG_ONE, gmsgStatusText,{0,0,0}, id);
write_byte(0);
write_string(text);
message_end();
return;
}