Jump to content
  • 0

pomoc Nwm nazvat


GAMELASTERツ

Dotaz

Ahojte, tak toto neviem nazvat, ale pokusim sa vam to vysvetlit. Potrebujem kod do scriptu(nieco.sh) ze to bude citat z toho co napisem pri spustani. Ukazka: ./nieco.sh adfsdfsdfsdf

Vypis: adfsdfsdfsdf

 

Dufam ze to chapete. Diky :)

Link to comment
Share on other sites

7 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Globální moderátor

dcmd_prikazy(playerid,params[])
{
new text=strval(params);//nadefinujeme si text jako params
if(!strlen(params)) return SendClientMessage(playerid, BARVA, "[ INFO ] Použití /prikaz [ text ]");//kdyz nevyplni text	
       SendClientMessageToAll(playerid,BARVA,"Text: %s",text);
return 1;
}

 

public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(prikaz,6,cmdtext);
return 0;
}

 

mělo by to fakat takhle

Link to comment
Share on other sites

  • 0
  • Globální moderátor
lol, ale on myslel linux... né pawno

 

nojo vlastne ja si rikal neco mi tam vadi ze je tam ./ :d a pokud teda pres linux tak to je pouhe echo ne?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...