How do I fix this?
#1

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.

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;
    }
Reply


Messages In This Thread
How do I fix this? - by Beginnercoder - 12.02.2011, 17:23
Re: How do I fix this? - by Medal Of Honor team - 12.02.2011, 17:33
Re: How do I fix this? - by Beginnercoder - 12.02.2011, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)