11.02.2010, 20:48
just a thought and a rough guide:
fit it in as and where necessary but hopefully that should sent 10 messages
Код:
new robtime; /robvictim robtime = 10; SetTimer("countdown", 1000, 10); forward countdown(); public countdown(){ if(robtime == 0){ SendClientMessage(playerid, COLOR, "Robbery complete"); } else{ format(string, sizeof(string), "%d", robtime); SendClientMessage(playerid, COLOR, string); return robtime--; } return 1; }