Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined scmex_included
- #endinput
- #endif
- #define scmex_included
- stock
- darabolas_SCM(playerid, color, const text[], darabolas = 128)
- {
- new
- seged1[148 + 1],
- valami = 0 - darabolas,
- lenght = strlen(text);
- while(lenght > (valami += darabolas))
- strmid(seged1, text[valami], 0, darabolas), SendClientMessage(playerid, color, seged1);
- }
- #if defined _ALS_SendClientMessage
- #undef SendClientMessage
- #else
- #define _ALS_SendClientMessage
- #endif
- #define SendClientMessage darabolas_SCM
- stock
- darabolas_SCMToAll(color, const text[], darabolas = 128)
- {
- new
- seged1[148 + 1],
- valami = 0 - darabolas,
- lenght = strlen(text);
- while(lenght > (valami += darabolas))
- strmid(seged1, text[valami], 0, darabolas), SendClientMessageToAll(color, seged1);
- }
- #if defined _ALS_SendClientMessageToAll
- #undef SendClientMessageToAll
- #else
- #define _ALS_SendClientMessageToAll
- #endif
- #define SendClientMessageToAll darabolas_SCMToAll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement