SA-MP Forums Archive
help me please - 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 me please (/showthread.php?tid=375940)



help me please - rumen98 - 08.09.2012

Hi all who can say me how to create a command using zcmd then type /mypresent to give me random vip or admin or money or anyting ? please help


Re: help me please - [HK]Ryder[AN] - 08.09.2012

using zcmd create a cmd /mypresent
pawn Код:
CMD:mypresent(playerid, params[])
After this use the random function https://sampwiki.blast.hk/wiki/Random
if 0 returns give him admin
if 1 returns give him vip
if 3 returns give him money and so on..