Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- IZRADIO: Kristijan Stipić
- TIP PROGRAMA: WHIlE petlje sa dvostrukom jednadzbom
- VRIJEME: 11.11.2010
- ZA: Y_LESS programing skills
- */
- #define DULJINA_FORMATA2 128
- #define formatExToAll(%0,%1) \
- do \
- { \
- new \
- string[DULJINA_FORMATA2]; \
- format(string, sizeof string, %0, %1); \
- ScmToAll(BOJA, string); \
- } \
- while(false)
- #define DULJINA_FORMATA 128
- #define SCM(%0,%1,%2) SendClientMessage(%2,%1,%0)
- #define BOJA 0x00FF14FF
- #define formatEx(%0,%1,%2) \
- do \
- { \
- new \
- string[DULJINA_FORMATA]; \
- format(string, sizeof string, %1, %2); \
- SCM(string, BOJA, %0); \
- } \
- while(false)
- public OnPlayerSpawn(playerid)
- {
- new
- ime[24]
- ;
- GetPlayerName(playerid, ime, 24);
- formatEx(playerid, "Spawno si se %s", ime);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement