SA-MP Forums Archive
pawn 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: pawn problem (/showthread.php?tid=140288)



pawn problem - johnathon956 - 08.04.2010

when following this tut i found http://forum.sa-mp.com/index.php?topic=163560.0

but when i add this
pawn Код:
public sendmsg ()
(
  new Random2 = random (sizeof (RandomColors));
  new randMSG = random (sizeof (RandomMSG));
    SendClientMessageToAll (RandomColors [Random2] RandomMSG [randMSG]);
)
this happens

[img width=1024 height=640]http://i39.tinypic.com/4v22qf.png[/img]


Re: pawn problem - biltong - 08.04.2010

Try public sendmsg()

Note there's no space between sendmsg and ()


Re: pawn problem - johnathon956 - 08.04.2010

Quote:
Originally Posted by biltong
Try public sendmsg()

Note there's no space between sendmsg and ()
ty