Advertisement
Guest User

Statistike igrača by: aleluja

a guest
Jun 6th, 2011
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. /*
  2. Statistika igrača by: alelja
  3. Credits: aleluja
  4. Creditse možete izbrisati ako hoćete.
  5. */
  6. //==============================================================================
  7. #include <a_samp>
  8. //==============================================================================
  9. #define zuta 0xF5DEB3AA
  10. #define tamnozelena 0x596C56AA
  11. #define bijela 0xFFFFFFFF
  12. //==============================================================================
  13. #define FILTERSCRIPT
  14. #define SCM SendClientMessage
  15. //==============================================================================
  16. #pragma tabsize 0
  17. //==============================================================================
  18. public OnFilterScriptInit()
  19. {
  20. print("\n--------------------------------------");
  21. print(" Statistike igrača učitana!");
  22. print("--------------------------------------\n");
  23. return 1;
  24. }
  25. //==============================================================================
  26. public OnFilterScriptExit()
  27. {
  28. return 1;
  29. }
  30. //==============================================================================
  31. public OnPlayerConnect(playerid)
  32. {
  33. SCM(playerid, bijela, "Ovaj server koristi Statistiku igrača by: aleluja");
  34. return 1;
  35. }
  36. //==============================================================================
  37. public OnPlayerDisconnect(playerid, reason)
  38. {
  39. return 1;
  40. }
  41. //==============================================================================
  42. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  43. {
  44. new string[128];
  45. new ImeIgraca[MAX_PLAYER_NAME];
  46. GetPlayerName(clickedplayerid, ImeIgraca, sizeof(ImeIgraca));
  47. SCM(playerid,tamnozelena, "=====================================================");
  48. format(string, sizeof(string), "Ime: {FFFFFF}%s", ImeIgraca);
  49. SCM(playerid,zuta, string);
  50. format(string, sizeof(string), "Level: {FFFFFF}%i", GetPlayerScore(clickedplayerid));
  51. SCM(playerid, zuta, string);
  52. SCM(playerid,tamnozelena, "=====================================================");
  53. return 1;
  54. }
  55. //==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement