Hello, Just added in the knife throwing command from bacon
THX.
i had a few errors with the cp message you have to wait (seconds) before using this command again, so i tried re-writing it and i got this
// can only throw 1 knife at the time set by cVar
if ( level.time - ent->specialTime < g_kniferecharge.value*1000 ) {
float
wait = (level.time - ent->specialTime) * 0.001;
int seconds = (level.time - ent->specialTime) / 1000;
trap_SendServerCommand(ent-g_entities, va("cp \"^3You must wait %i seconds before using that command ^3a new team.
\", ", (int)wait, wait > 2 ? "" : "s" ));
return;
}
Problem is that it counts up not down can someone help me out?