text - 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: text (
/showthread.php?tid=305265)
text -
viosteaua98 - 21.12.2011
i want to make a command like this
/help and when someone type these to appear message like :Welcome on server....
SendClientMessage
AW: text -
Drebin - 21.12.2011
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/help", true))
{
SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the server!");
return 1;
}
return 0;
}