 |
|
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
|

05-01-2015
, 10:22
Re: After the restart give_item (id, "weapon_knife"); Does not work
|
#2
|
Quote:
Originally Posted by indraraj striker
you want show the player name ?
just put the name out side the cmd_access
PHP Code:
public knife(id, level, cid)
{
new name[32]
get_user_info(id, "name", name, 31)
ColorChat(0, GREEN,"%s: test",name);
if(cmd_access(id,level, cid, 1))
{
strip_user_weapons(id)
give_item(id,"weapon_knife");
server_cmd("sv_restart 2");
server_cmd("sv_restart 3");
}
return PLUGIN_HANDLED
}
For second wait sometime i m going to test your code
|
No, Admin has to say the name of the show.
|
|
|
|