register_clcmd("say /komenda","komenda")
public komenda(id,level,cid)
{
if(!cmd_access(id,level,cid,2))
return PLUGIN_HANDLED;
new argument[32]
read_argv(1,argument,31)
player_tekst[id] = argument
return PLUGIN_HANDLED
}
zrobiłem tak i po uzyciu /komenda player_tekst[id] = /komenda
Chodzi o to,żeby w player_tekst[id] było to co wpisałem po /komenda np. /komenda siema,czego wynikiem ma być w player_tekst[id] = siema
Użytkownik Willson edytował ten post 20.05.2012 19:28