Advertisement
Guest User

GUI creating easier - BIT

a guest
Jan 3rd, 2015
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.61 KB | None | 0 0
  1. // Viską rašom kodo pradžioje.
  2.  
  3. new dialog_main[2048 char];
  4. new dialog_second[2048 char];
  5.  
  6. #define Header(%0)                                          format(dialog_main,sizeof(dialog_main), "{E8E8E8}" %0)
  7. #define SkipLine()                                          strcat(dialog_main, " \n")
  8.  
  9. #define AddRow(%0)                                          format(dialog_second,sizeof(dialog_second), %0), SkipLine(), strcat(dialog_main, dialog_second)
  10. #define AddLine(%0)                                         format(dialog_second,sizeof(dialog_second), %0), SkipLine(), strcat(dialog_main, dialog_second)
  11.  
  12. #define Show(%2,%0,%1,%3,%4)                                ShowPlayerDialog(%0,%1,%2," ",dialog_main,%3,%4),format(dialog_main,sizeof(dialog_main),"")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement