Pretchink
if (earthstomp[id] != 0 && is_user_alive(id))
{
static Float:fallVelocity;
pev(id,pev_flFallVelocity,fallVelocity);
if(fallVelocity) falling[id] = true
else falling[id] = false;
}
if (player_b_jumpx[id] > 0) Prethink_Doublejump(id)
if (player_b_knifemaster[id] > 0) Prethink_Knifemaster(id) //od tego
if (player_b_vampire[id] > 0) Prethink_Vampire(id)
if (player_b_illusionist[id] > 0) Prethink_Illusionist(id)
if (player_b_ghost[id] > 0) Prethink_Ghost(id)
if (player_b_grenade[id] > 0) Prethink_Grenade(id)
if (player_b_blind[id] > 0) Prethink_Blind(id)
if (player_b_gravity[id] > 0) Prethink_Glavity(id)
if (player_b_silent[id] > 0) Prethink_Silent(id)
if (player_b_respawn[id] > 0) Prethink_Respawn(id)
if (player_b_sniper[id] > 0) Prethink_Sniper(id) //do tego
if (player_b_blink[id] > 0) Prethink_Blink(id)
if (player_b_usingwind[id] == 1) Prethink_usingwind(id)
if (player_b_oldsen[id] > 0) Prethink_confuseme(id)
if (player_b_froglegs[id] > 0) Prethink_froglegs(id)
//USE Button actives USEMAGIC
posttchink
public client_PostThink( id )
{
if (player_b_jumpx[id] > 0) Postthink_Doubeljump(id)
if (player_b_knifemaster[id] > 0) Prethink_Knifemaster(id) //od tego
if (player_b_vampire[id] > 0) Prethink_Vampire(id)
if (player_b_illusionist[id] > 0) Prethink_Illusionist(id)
if (player_b_ghost[id] > 0) Prethink_Ghost(id)
if (player_b_grenade[id] > 0) Prethink_Grenade(id)
if (player_b_blind[id] > 0) Prethink_Blind(id)
if (player_b_gravity[id] > 0) Prethink_Glavity(id)
if (player_b_silent[id] > 0) Prethink_Silent(id)
if (player_b_respawn[id] > 0) Prethink_Respawn(id)
if (player_b_sniper[id] > 0) Prethink_Sniper(id) //do tego
if (earthstomp[id] != 0 && is_user_alive(id))
{
if (!falling[id]) add_bonus_stomp(id)
else set_pev(id,pev_watertype,-3)
}
}
Resztę dam potem bo teraz mykam do szkoły.