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



Message - Ananisiki - 23.03.2014

~~~~~~


Re: Message - MP2 - 23.03.2014

You never set 'skinid' to anything, so it stays at 0. It'll only show that message if the player is using skin ID 0.


Re: Message - Ananisiki - 23.03.2014

~~~~~~~~


Re: Message - MP2 - 23.03.2014

So what's the problem?

Your string array (which should really be named better) is only 32 cells - allowing a string of 31 characers. Your second message can be 60 characters long. You need a 61-cell array for the string (might as well round it up to 64).


Re: Message - Ananisiki - 23.03.2014

Works pretty good now, thx