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



Automatic Command - juuleman - 20.02.2010

Hey all,

Is it possible to automaticly send a command from someones acount?
Like if i login it automaticly sends /test from my acount.

Thanks for the help,
SancheZ


Re: Automatic Command - Daren_Jacobson - 20.02.2010

OnPlayerCommandText(playerid, "/test");


if you use ZCMD just call cmd_test or dcmd_test (for DCMD);