[Plugin] Help Me
Posted: Wed May 21, 2008 2:54 pm
Hi,
I want to create new plugin for my server and my question is
What i have to write to create plugin only for Chameleon race.
example
I want Race Chameleon to use only knife.
Can Author of Wc3mod or someone help me??
Regards,
paprzyk
I want to create new plugin for my server and my question is
What i have to write to create plugin only for Chameleon race.
example
Code: Select all
public RemovepickedWeapon(id) {
if(!RACE_CHAM)
return PLUGIN_CONTINUE
public RemovePickedWeapon(id) {
if(!is_user_alive(id) || !is_user_connected(id))
return PLUGIN_CONTINUE
if(block[id])
{
engclient_cmd(id, "drop", "weapon_c4")
strip_user_weapons(id)
give_item(id,"weapon_knife")
Can Author of Wc3mod or someone help me??
Regards,
paprzyk