12.02.2011, 17:23
Hi I have made all my police 10 codes but when you type the code in, in-game it doesn't say who said it because I havn't added it but I don't know what to put.
Here is a small example of what I have done so far.
Here is a small example of what I have done so far.
pawn Код:
public OnPlayerText(playerid, text[])
{
if(!strcmp(text, "10-0", true))
{
SendClientMessageToAll(0xFF0000FF, "CAUTION");
return 0;
}
if(!strcmp(text, "10-1", true))
{
SendClientMessageToAll(0xFF0000FF, "Signal Weak");
return 0;
}