21.03.2017, 06:11
PHP код:
new p_LastHealMe[MAX_PLAYERS]; // to save time in it
PHP код:
CMD:healme(playerid, params[])
{
if(( gettime() - p_LastHealMe[playerid] ) < 10)
{
// error message
}
else
{
// stuff
p_LastHealMe[playerid] = gettime();
}
}