01.08.2012, 17:44
(
Последний раз редактировалось BlackyvomBlackhausen; 02.08.2012 в 12:23.
)
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 ...
onplayercommandtext on my GM:
and the define from the y_dohooks.inc
can anyone help me please 
this is my first GM

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")
Код:
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;
}
Код:
#define OnPlayerCommandText S@@_OnPlayerCommandText ALS_FORWARD<PlayerCommandText>

this is my first GM

