co do fireballa to zrobiłem tak:
w menu klas zrobiłem takie coś
case 0:
{
player_class[id] = Mag
c_fireball[id] = 1
client_cmd(id,"bind ^"c^" ^"fireball^"")
register_clcmd("fireball","fireball")
LoadXP(id, player_class[id])
}
i w public fireball(id)
if (halflife_time()-firetimer[id] <= 15)
{
hudmsg(id,1.0,"Mozesz wyczarowac Ognista Kule co kazde15 sekund")
return PLUGIN_CONTINUE
}
firetimer[id] = floatround(halflife_time())
{
client_cmd(id,"fireball")
new Float:vOrigin[3]
new fEntity
itd.itd.....
Załączone pliki
Użytkownik PedoBear. edytował ten post 23.01.2011 19:57