SA-MP Forums Archive
help in senclientmessage - 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: help in senclientmessage (/showthread.php?tid=334746)



help in senclientmessage - AMEENAMEEN - 15.04.2012

So i dont know how to explain this but i want
i want
pawn Код:
else if (PlayerToPoint(50.0, playerid,198.3160,168.8660,1003.0234) && PlayerInfo[playerid][pMember] == 2)
        tmp = strtok(cmdtext, idx);
                if(!strlen(tmp)) {
                    SendClientMessage(playerid, COLOR_GRAD3, "USAGE: /equip [item number]");
                    SendClientMessage(playerid, COLOR_GREEN, "|_______ FBI Agent Armory _______|");
                    SendClientMessage(playerid, COLOR_GRAD1, "| 1: Intern Surveillance  2: Agent Surveillance");
                    SendClientMessage(playerid, COLOR_GRAD2, "| 3: Surveillance Camera  4: Covert Surveillance");
                    SendClientMessage(playerid, COLOR_GRAD3, "| 5: Standard Tactical    6: Medium Tactical");
                    SendClientMessage(playerid, COLOR_GRAD4, "| 7: Heavy Tactical       8: Sharpshooter Tactical");
                    SendClientMessage(playerid, COLOR_GRAD5, "| 9: Equip Armor+health   10: Night Vision Goggles");
                    SendClientMessage(playerid, COLOR_GRAD5, "| 11: Thermal Goggles     12: Default");
                    return 1;
                }
I want the SendClientMessage to show only in the assigned PlayerToPoint only not in all san andreas because it shows anywhere and i want it only in the assigned PlayerToPoint


Re: help in senclientmessage - sniperwars - 16.04.2012

Man, we solved this if you remember ? I added the bracket and sent you the code
and you said it worked Help is not needed now guys.