Jump to content
  • 0

Unknow Command


ruben88

Question

10 answers to this question

Recommended Posts

iti fac un exemplu cum sa faci :D

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp(cmd,"/cmd",true) == 0)
	{
        	.............
		return 1;
	}
	new stringcom[256];
	format(stringcom,256,"[§] The command %s don't exist on Server X try /help !", cmdtext);
	return SendClientMessage(playerid, COLOR_ORANGE, stringcom);
}

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Ruben" post="55287" timestamp="1298035020"]

Nu merge...ce miai dat u...nu inteleg..ami da errori..nu pot sa modific nimica!

public OnPlayerCommandText( playerid, cmdtext[])

{

  //....comenzile tale aici

 

  return SendClientMessage( playerid, 0xFF0000FF, "COMANDA NECUNOSCUTA! Foloseste {FFFFFF}/help{FF0000} pentru ajutor!");

}

Link to comment
Share on other sites

Ruben" post="55296" timestamp="1298036186"]

Da..am avut..lam sters return acela din inainte,a mers..dar in server tot nimic apare...

Folosesti cumva un procesor de comenzi precum y_cmds sau zcmd ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.