So something like this, mmm?
PHP Code:
if( !( pev( id, pev_flags ) & FL_ONGROUND2 ) )
{
switch (get_pcvar_num(kz_chatorhud))
{
case 1: ColorChat(id, GREEN, "You can't make a checkpoint in the air.")
case 2: kz_hud_message(id, "You can't make a checkpoint in the air")
}
if (pev(%1, pev_movetype) == MOVETYPE_FLY)
{
switch (get_pcvar_num(kz_chatorhud))
{
case 1: ColorChat(id, GREEN, "^1Checkpoint ^3#%d ^1created",checknumbers[id])
case 2: kz_hud_message(id, "Checkpoint #%d",checknumbers[id])
}
}