SA-MP Forums Archive
CMD problem - 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: CMD problem (/showthread.php?tid=434038)



CMD problem - [..MonTaNa..] - 30.04.2013

Removed.


Re: CMD problem - [..MonTaNa..] - 30.04.2013

Problem solved ~
But im still getting 2 death messages..


Re: CMD problem - Babul - 30.04.2013

have a look in your OnPlayerDeath(), you may find the second there.


Re: CMD problem - [..MonTaNa..] - 30.04.2013

Removed.


Re: CMD problem - Red_Dragon. - 30.04.2013

Yes you SendDeathMessage two times, first time in the command and the second time in the third one in OnPlayeDeath. Remove the desired one.


Re: CMD problem - [..MonTaNa..] - 01.05.2013

Still can't find it o.o , maybe im just to tired.
Line?


Re: CMD problem - Babul - 01.05.2013

press CTRL+F, type "senddeath" and then maybe, F3 once or twice, depending on how many there are in the script heheh
Код:
        switch (reason)
        {
            case 0:
            {
                reasonMsg = "Unarmed";
                SendDeathMessage(killerid, playerid, reason);
after the killstreak stuff... oops there are "some" more. enjoy //commenting them!


Re: CMD problem - [..MonTaNa..] - 01.05.2013

Removed.


Re: CMD problem - [..MonTaNa..] - 01.05.2013

Removed.