leade96
|
分享:
▲
▼
register_clcmd("zp_zombie1", "zp_zombie1_ability")
=> Better
register_clcmd("drop", "zp_zombie1_ability")
becuz if you're use client_cmd(index[], "bind g zp_zombie1"), client loose their drop key . . .
and add code this. . . (because if you're use only clcmd("drop"), humans cant drop their weapons, so
public zp_zombie1(id) { if (!zp_get_user_zombie(id) || zp_get_user_zombie_class(id) != YouRZombieClassName) return PLUGIN_CONTINUE;
// and add your codes }
Sorry for flood
|