Help :/
#6

Quote:
Originally Posted by Kayla.S
Посмотреть сообщение
Could you post the code then please? All you're wanting is just the players name blue who is a cop nobody elses and not his chat messages correct?
Yes, Example, Say i am a cop and i have chosen a cop skin in the Selection screen my name would be Luis_Geramia: Hello, Like that,
The code is,

pawn Код:
dcmd_o(playerid, params[])
{
    if(!strlen(params)) return
    SendClientMessage(playerid, COLOR_YELLOW, "Usage: /o [chat]");
    new str[256], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(str, sizeof(str), "%s: %s", pName, params);
    SendClientMessageToAll(COLOR_WHITE, str);
    return 1;
}
Reply


Messages In This Thread
Help :/ - by Luis- - 05.08.2010, 22:34
Re: Help :/ - by JaTochNietDan - 05.08.2010, 22:36
Re: Help :/ - by Kayla.S - 05.08.2010, 22:40
Re: Help :/ - by Luis- - 05.08.2010, 22:52
Re: Help :/ - by Kayla.S - 05.08.2010, 22:54
Re: Help :/ - by Luis- - 05.08.2010, 22:58
Re: Help :/ - by Kayla.S - 05.08.2010, 23:14
Re: Help :/ - by JaTochNietDan - 05.08.2010, 23:16
Re: Help :/ - by JaTochNietDan - 06.08.2010, 00:15
Re: Help :/ - by (.Aztec); - 06.08.2010, 04:58

Forum Jump:


Users browsing this thread: 1 Guest(s)