SA-MP Forums Archive
easy job - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: easy job (/showthread.php?tid=417770)



easy job - Nivniv2 - 22.02.2013

Код:
if(phonenumb == 555)
    {
        if ((strcmp("yes", text, true, strlen(text)) == 0) && (strlen(text) == strlen("yes")))
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "Text message delivered.");
            if (gTeam[playerid] == 2 || gTeam[playerid] == 1)
            {
                SendClientMessageEx(playerid, COLOR_YELLOW, "SMS: DONT SMS ME BITCH!, Sender: MOLE (555)");
                RingTone[playerid] = 20;
                return 1;
            }
            return 1;
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_YELLOW, "SMS: DONT SMS ME BITCH!, Sender: MOLE (555)");
            RingTone[playerid] = 20;
            return 1;
        }
please close every copy of this snippet, i didn't really get it


Re: easy job - Nivniv2 - 22.02.2013

BUMP

anyone?


Re: easy job - DaRk_RaiN - 22.02.2013

pawn Код:
if(phonenumb == 555)
    {
        if ((strcmp("yes", text, true, strlen(text)) == 0) && (strlen(text) == strlen("yes")))
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "Text message delivered.");
            if (gTeam[playerid] == 2 || gTeam[playerid] == 1)
            {
                SendClientMessageEx(playerid, COLOR_YELLOW, "SMS: DONT SMS ME BITCH!, Sender: MOLE (555)");
                RingTone[playerid] = 20;
                return 1;
            }
            return 1;
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_YELLOW, "SMS: DONT SMS ME BITCH!, Sender: MOLE (555)");
            RingTone[playerid] = 20;
            }
            return 1;
        }