Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Statistika igrača by: alelja
- Credits: aleluja
- Creditse možete izbrisati ako hoćete.
- */
- //==============================================================================
- #include <a_samp>
- //==============================================================================
- #define zuta 0xF5DEB3AA
- #define tamnozelena 0x596C56AA
- #define bijela 0xFFFFFFFF
- //==============================================================================
- #define FILTERSCRIPT
- #define SCM SendClientMessage
- //==============================================================================
- #pragma tabsize 0
- //==============================================================================
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Statistike igrača učitana!");
- print("--------------------------------------\n");
- return 1;
- }
- //==============================================================================
- public OnFilterScriptExit()
- {
- return 1;
- }
- //==============================================================================
- public OnPlayerConnect(playerid)
- {
- SCM(playerid, bijela, "Ovaj server koristi Statistiku igrača by: aleluja");
- return 1;
- }
- //==============================================================================
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- //==============================================================================
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- new string[128];
- new ImeIgraca[MAX_PLAYER_NAME];
- GetPlayerName(clickedplayerid, ImeIgraca, sizeof(ImeIgraca));
- SCM(playerid,tamnozelena, "=====================================================");
- format(string, sizeof(string), "Ime: {FFFFFF}%s", ImeIgraca);
- SCM(playerid,zuta, string);
- format(string, sizeof(string), "Level: {FFFFFF}%i", GetPlayerScore(clickedplayerid));
- SCM(playerid, zuta, string);
- SCM(playerid,tamnozelena, "=====================================================");
- return 1;
- }
- //==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement