13.08.2012, 14:21
Did you notice that every time, "listitem" is the same as the second parameter of SetPlayerTime? So you can change it all in
Nota come la programmazione, essendo ripetizione di tante istruzioni, puт essere semplificata di molto
(Little italian digression :P)
Код:
new str[64]; SetPlayerTime(playerid,listitem,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); format(str, sizeof(str),"Server: {00FFFF}You have set your time on %d:00",listitem); SendClientMessage(playerid, 0x0000FFAA,str);
(Little italian digression :P)