12.08.2012, 23:30
ADD ME ********
http://www.********.com/sergio.trif
SCREEN SERVER TIMEXP
ENG
REP?? AND COMMENT PLASE
ITA
http://www.********.com/sergio.trif
SCREEN SERVER TIMEXP
ENG
REP?? AND COMMENT PLASE
Код:
#include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" TIMEXP BY SERGIOCOSTA "); print("--------------------------------------\n"); return 1; } #else main() { print("\n----------------------------------"); print(" TIMEXP BY SERGIOCOSTA "); print("----------------------------------\n"); } #endif public OnGameModeInit() { return 1; } public OnGameModeExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/timexp", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,480,DIALOG_STYLE_LIST,"MENU THE TIMEXP by SergioCosta 2012 FS","{00EFFF}0:00\n{00EFFF}01:00\n{00EFFF}02:00\n{00EFFF}03:00\n{00EFFF}04:00\n{00EFFF}05:00\n{00EFFF}06:00\n{00EFFF}07:00\n{00EFFF}08:00\n{00EFFF}09:00\n{00EFFF}10:00\n{00EFFF}11:00\n{00EFFF}12:00\n{EB0000}Next Time Page","Select","Close"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 480) { if(response) { if(listitem==0) { SetPlayerTime(playerid,0,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 0:00"); } if(listitem==1) { SetPlayerTime(playerid,1,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 1:00"); } if(listitem==2) { SetPlayerTime(playerid,2,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 2:00"); } if(listitem==3) { SetPlayerTime(playerid,3,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 3:00"); } if(listitem==4) { SetPlayerTime(playerid,4,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 4:00"); } if(listitem==5) { SetPlayerTime(playerid,5,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 5:00"); } if(listitem==6) { SetPlayerTime(playerid,6,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 6:00"); } if(listitem==7) { SetPlayerTime(playerid,7,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 7:00"); } if(listitem==8) { SetPlayerTime(playerid,8,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 8:00"); } if(listitem==9) { SetPlayerTime(playerid,9,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 9:00"); } if(listitem==10) { SetPlayerTime(playerid,10,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 10:00"); } if(listitem==11) { SetPlayerTime(playerid,11,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 11:00"); } if(listitem==12) { SetPlayerTime(playerid,12,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 12:00"); } if(listitem==13) { ShowPlayerDialog(playerid,481,DIALOG_STYLE_LIST,"SECOND PART PAGE BY SERGIOCOSTA","{00EFFF}13:00\n{00EFFF}14:00\n{00EFFF}15:00\n{00EFFF}16:00\n{00EFFF}17:00\n{00EFFF}18:00\n{00EFFF}19:00\n{00EFFF}20:00\n{00EFFF}21:00\n{00EFFF}22:00\n{00EFFF}23:00","Select","Close"); } } return 1; } if(dialogid == 481) { if(response) { if(listitem==0) { SetPlayerTime(playerid,13,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 13:00"); } if(listitem==1) { SetPlayerTime(playerid,14,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 14:00"); } if(listitem==2) { SetPlayerTime(playerid,15,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 15:00"); } if(listitem==3) { SetPlayerTime(playerid,16,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 16:00"); } if(listitem==4) { SetPlayerTime(playerid,17,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 17:00"); } if(listitem==5) { SetPlayerTime(playerid,18,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 18:00"); } if(listitem==6) { SetPlayerTime(playerid,19,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 19:00"); } if(listitem==7) { SetPlayerTime(playerid,20,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 20:00"); } if(listitem==8) { SetPlayerTime(playerid,21,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 21:00"); } if(listitem==9) { SetPlayerTime(playerid,22,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 22:00"); } if(listitem==10) { SetPlayerTime(playerid,23,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}You put your time 23:00"); } } return 1; } return 0; }
Код:
#include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" TIMEXP BY SERGIOCOSTA "); print("--------------------------------------\n"); return 1; } #else main() { print("\n----------------------------------"); print(" TIMEXP BY SERGIOCOSTA "); print("----------------------------------\n"); } #endif public OnGameModeInit() { return 1; } public OnGameModeExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/timexp", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,480,DIALOG_STYLE_LIST,"MENU DELLE ORE PER IL SERVER by SergioCosta 2012 FS","{00EFFF}0:00\n{00EFFF}01:00\n{00EFFF}02:00\n{00EFFF}03:00\n{00EFFF}04:00\n{00EFFF}05:00\n{00EFFF}06:00\n{00EFFF}07:00\n{00EFFF}08:00\n{00EFFF}09:00\n{00EFFF}10:00\n{00EFFF}11:00\n{00EFFF}12:00\n{EB0000}PROSSIMA PAGINA ","Seleziona","Chiudi"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 480) { if(response) { if(listitem==0) { SetPlayerTime(playerid,0,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 0:00"); } if(listitem==1) { SetPlayerTime(playerid,1,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 1:00"); } if(listitem==2) { SetPlayerTime(playerid,2,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 2:00"); } if(listitem==3) { SetPlayerTime(playerid,3,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 3:00"); } if(listitem==4) { SetPlayerTime(playerid,4,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 4:00"); } if(listitem==5) { SetPlayerTime(playerid,5,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 5:00"); } if(listitem==6) { SetPlayerTime(playerid,6,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 6:00"); } if(listitem==7) { SetPlayerTime(playerid,7,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 7:00"); } if(listitem==8) { SetPlayerTime(playerid,8,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 8:00"); } if(listitem==9) { SetPlayerTime(playerid,9,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 9:00"); } if(listitem==10) { SetPlayerTime(playerid,10,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 10:00"); } if(listitem==11) { SetPlayerTime(playerid,11,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 11:00"); } if(listitem==12) { SetPlayerTime(playerid,12,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 12:00"); } if(listitem==13) { ShowPlayerDialog(playerid,481,DIALOG_STYLE_LIST,"SECONDA PARTE BY SERGIOCOSTA","{00EFFF}13:00\n{00EFFF}14:00\n{00EFFF}15:00\n{00EFFF}16:00\n{00EFFF}17:00\n{00EFFF}18:00\n{00EFFF}19:00\n{00EFFF}20:00\n{00EFFF}21:00\n{00EFFF}22:00\n{00EFFF}23:00","Seleziona","Chiudi"); } } return 1; } if(dialogid == 481) { if(response) { if(listitem==0) { SetPlayerTime(playerid,13,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 13:00"); } if(listitem==1) { SetPlayerTime(playerid,14,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 14:00"); } if(listitem==2) { SetPlayerTime(playerid,15,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 15:00"); } if(listitem==3) { SetPlayerTime(playerid,16,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 16:00"); } if(listitem==4) { SetPlayerTime(playerid,17,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 17:00"); } if(listitem==5) { SetPlayerTime(playerid,18,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 18:00"); } if(listitem==6) { SetPlayerTime(playerid,19,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 19:00"); } if(listitem==7) { SetPlayerTime(playerid,20,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 20:00"); } if(listitem==8) { SetPlayerTime(playerid,21,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 21:00"); } if(listitem==9) { SetPlayerTime(playerid,22,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 22:00"); } if(listitem==10) { SetPlayerTime(playerid,23,0); PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x0000FFAA,"Server: {00FFFF}tu hai impostato l'ora su 23:00"); } } return 1; } return 0; }