Quote:
Originally Posted by EFFx
get_mapname().
|
Added get_mapname() like this
PHP Code:
{
static name[33]
get_user_name(id, name, 32)
// Show health, class and ammo packs
set_hudmessage(red, green, blue, 0.02, 0.18, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "[SPG Zombie Plague Clasico]^n^n[Nombre: %s]^n[Mapa: %s]^n[Vida: %d]^n[Chaleco: %d]^n[Clase: %s]^n[AmmoPacks: %d]", name, get_mapname(), pev(ID_SHOWHUD, pev_health), get_user_armor(id), class, g_ammopacks[ID_SHOWHUD])
}
But when compiling got this error
PHP Code:
zombie_plague40.sma<8373> error 088 number of arguments does not match definition
Line 8373 is the one starting on "ShowSyncHudMsg"