|
new text[1023]
new len = format(text,1023,"\w请问你敢发誓吗?: ^n^n\w")
len += format(text[len],1023-len,"^n\r8.\w 我不作弊,我敢发誓.^n\r9.\w 我是孬种,我不敢发誓.")
show_menu(id,(1<<7|1<<8),text)
get_cvar_string( CVARCOLOR, sDisplayColor, 12 )
explode_string( DISPLAYCOLOR, 3, 3, sDisplayColor, ',' )
format( MESSAGE, MESSAGELENGTH, DISPLAYTITLE )
for ( new i=0; i<ENTRYCOUNT; ++i ) {
format( MESSAGE, MESSAGELENGTH, "%s^n%d. %s", MESSAGE, i+1, ENTRY[i] )
}
set_hudmessage( str_to_num(DISPLAYCOLOR[0]), str_to_num(DISPLAYCOLOR[1]), str_to_num(DISPLAYCOLOR[2]), 0.025, 0.225, 2, 0.01, nDisplayTime, 0.01, 0.1, 4 )
show_hudmessage( id, "%s", MESSAGE )
client_print(id, print_center, "兄弟,请先发誓才能游戏哦,除非你是孬种,不敢发誓!")
return PLUGIN_HANDLED
|
|