#include <zp50_class_zombie>
PHP Code:
/**
* Returns a zombie class' name.
*
* @param classid A valid zombie class ID.
* @param name The buffer to store the string in.
* @param len Character size of the output buffer.
* @return True on success, false otherwise.
*/
native zp_class_zombie_get_name(classid, name[], len)
I try this:
PHP Code:
// Get his name
new zc_name[32]
get_user_name(id, name, 31)
zp_class_zombie_get_name(id, zc_name, 31)
if (is_user_alive(id))// bla bla bla
{
ColorChat(0, RED, "[%s] %s^x01: %s", zc_name, name);
}
Why then this option gives not the correct name of zombies. Can I something wrong?