Jump to content
  • 0

Question

Posted

Salut...am problema asta: Cnad sciru o comanda cre nu exista nu ami apare nik...inainte ami spunea "Unknown Command" acum nu mai spune nimica...cum pot face ca sa ai spune ceva playerului sa scrie ceva ca sa vada comenzile!

10 answers to this question

Recommended Posts

Posted

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!

Posted

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!");

}

Posted

?

 (8039):error 010: invalid function or declaration
erruare 8039-> return SendClientMessage( playerid, 0xFF0000FF, "COMANDA NECUNOSCUTA! Foloseste {FFFFFF}/help{FF0000} pentru ajutor!");
  }

Posted

Poate deja ai un return 0; inainte de ce ti-am dat eu.

Posted

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 ?

Posted

Ruben" post="55298" timestamp="1298036488"]

Nu

Daca ai Team Viewer, da-mi IP si Parola prin PM, sa intru sa vad personal.

daca nu ai, www.teamviewer.com

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.