help me someone for this 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: help me someone for this problem (
/showthread.php?tid=73055)
help me someone for this problem -
Berti - 12.04.2009
i have create a server at samp and i dont know to put commands in my server.
Re: help me someone for this problem -
Oli3L - 12.04.2009
same here
Re: help me someone for this problem -
Klutty - 12.04.2009
Quote:
Originally Posted by Berti
i have create a server at samp and i dont know to put commands in my server.
|
You have to script them, here's an example.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/test", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFFFFFFAA,"This was a test");
return 1;
}
return 0;
}
Check
wiki.sa-mp.com for some tutorials.