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



help - armyoftwo - 10.12.2009

Код:
  if(strcmp("/Givehello", cmd, true) == 0){
  if(!strlen(tmp)) {
  SendClientMessage(playerid, red, "USAGE: /givehello (id)");
  return 1;
  }
  new giveplayerid = strval(tmp);
  giveplayerid = strval(tmp);
  SendClientMessage(giveplayerid, red, "Hello!");
  return 1;
  }
It shows /givehello (id)