[FilterScript] [FS]-->TIME NEW DIALOG ITA-ENG<--- WORK 100% BY SERGIO-COSTA
#7

Did you notice that every time, "listitem" is the same as the second parameter of SetPlayerTime? So you can change it all in
Код:
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);
Nota come la programmazione, essendo ripetizione di tante istruzioni, puт essere semplificata di molto

(Little italian digression :P)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)