Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward SendClientMessageEx(const playername[], color, const message[]);
- public SendClientMessageEx(const playername[], color, const message[])
- {
- new i;
- for(i=0;i<SLOTS_SERVER;i++)
- {
- new NomePlayer[MAX_PLAYER_NAME];
- GetPlayerName(i,NomePlayer,sizeof(NomePlayer));
- if(!strcmp(NomePlayer, playername, true, sizeof(NomePlayer)))
- {
- SendClientMessage(i, color, message);
- return 1;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement