hlmod.hu
https://hlmod.hu/

Pont adás mindenkinek Szöveggel.
https://hlmod.hu/viewtopic.php?f=9&t=20076
Oldal: 1 / 1

Szerző:  Levii [ 2015.03.29. 19:09 ]
Hozzászólás témája:  Pont adás mindenkinek Szöveggel.

Sziasztok! azt hogy írjam bele hogy PL: XY adott mindenkinek 100pontot? SMA:
SMA Forráskód: [ Mindet kijelol ]
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "New Plug-In"
  7. #define VERSION "1.0"
  8. #define AUTHOR "author"
  9.  
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13. register_clcmd("pont all", "pontadas")
  14. // Add your code here...
  15. }
  16. public pontadas(aid) {
  17. if(!(get_user_flags(aid) & ADMIN_BAN))
  18. return
  19. new p[32], n, id
  20. get_players(p, n)
  21. for(new i; i < n; i++)
  22. {
  23. id = p[i]
  24. pont[id] += 100
  25. }
  26. }

Szerző:  pixxa112 [ 2015.03.29. 19:33 ]
Hozzászólás témája:  Re: Pont adás mindenkinek Szöveggel.

SMA Forráskód: [ Mindet kijelol ]
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "New Plug-In"
  7. #define VERSION "1.0"
  8. #define AUTHOR "author"
  9.  
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13. register_clcmd("pont all", "pontadas")
  14. // Add your code here...
  15. }
  16. public pontadas(aid) {
  17. if(!(get_user_flags(aid) & ADMIN_BAN))
  18. return
  19. new p[32], n, id
  20. get_players(p, n)
  21. for(new i; i < n; i++)
  22. {
  23. new nev[32]
  24. get_user_name(id, nev, 31)
  25. id = p[i]
  26. pont[id] += 100
  27. client_print(0, print_chat,"%s adott mindenkinek 100 pontot.", nev)
  28. }
  29. }

Szerző:  Levii [ 2015.03.29. 19:39 ]
Hozzászólás témája:  Re: Pont adás mindenkinek Szöveggel.

Kössz pixxa112

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/