SendClientMessageToAll doesnt work
#3

Eh, not good at scripting but i'll try

new string[128];
format(string, sizeof(string), "%s(%d): %d", name, GetPlayerID(playerid), text);
SendClientMessageToAll(COLOR_WHITE, str);

I'm new so.. ehh


If not working try that..

new name[MAX_PLAYER_NAME], str[128];
format(string, sizeof(string), "%s(%s): %s", GetPlayerName(playerid), GetPlayerID(playerid), text);
SendClientMessageToAll(COLOR_WHITE, string);

or...

new string[128];
format(string, sizeof(string), "%s(%i): %d", GetPlayerName(playerid), GetPlayerID(playerid), text);
SendClientMessageToAll(COLOR_WHITE, string);
Reply


Messages In This Thread
SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 12:56
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 12:57
Re: SendClientMessageToAll doesnt work - by Glossy42O - 27.12.2014, 12:58
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 13:05
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 13:15
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 13:33
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 13:36
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 14:20
Re: SendClientMessageToAll doesnt work - by JaydenJason - 27.12.2014, 14:26
Re: SendClientMessageToAll doesnt work - by Facerafter - 27.12.2014, 14:29

Forum Jump:


Users browsing this thread: 1 Guest(s)