PHP Code:
public give_c4()
{
//code takes id from parameters and stores it in 'id'
if(is_user_alive(id))
{
give_item(id, "weapon_c4")
cs_set_user_plant(id, 1, 1)
}
}
perhaps?
Requires fun + cstrike modules though.
Also when setting the task, you must send the id of the person you want to give the bomb in the parameter
Yeh his is good ^ mines simple :p