Problem with OnPlayerCommandText
#1

Hello

Sorry for my Bad English

Ich make i Gamemode and i will add the Include S32_house ...

but when i Compile the GM become i a Waring and the commands are not going ...

Код:
pawno\include\YSI\internal\y_dohooks.inc(1325) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
onplayercommandtext on my GM:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new string[128];
	format(string, sizeof(string), "Fehler: {ffffff}Der Befehl {007D00}%s {ffffff}konnte nicht gefunden werden.", cmdtext);
	Echo(playerid, cRot, string);
	dcmd(base,4,cmdtext);
	dcmd(defence,7,cmdtext);
	return 1;
}
and the define from the y_dohooks.inc

Код:
#define OnPlayerCommandText S@@_OnPlayerCommandText
ALS_FORWARD<PlayerCommandText>
can anyone help me please
this is my first GM
Reply


Messages In This Thread
Problem with OnPlayerCommandText - by BlackyvomBlackhausen - 01.08.2012, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)