hi guys
i using this small code:
PHP Code:
// Say "/gun"
public clcmd_saygun(id)
{
fm_give_item(id, "weapon_m4a1")
ColorChat(0, GREY, "^x04[GUN]^x03 %s^x01 has used his/her^x04 gun day!", g_playername[id])
}
i want only one thing
i want that player can use this command only one time per 24 hours (day)
only player can use this command everyday
and he can't use this command again before passage 24 hours
anyhelp ?