25.07.2015, 15:16
Queria alterar a mensagem default do SA:MP. Mas como faзo isso com YCMD? Jб tentei:
Mas dб um conflito com a include:
Mas na include:
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
new string[64];
format(string, sizeof(string), "[ERRO:] {FFFFFF}O comando %s nгo existe", cmdtext);
SendClientMessage(playerid, COLOR_ERRO, string);
}
return 1;
}
PHP код:
Spring Vale Roleplay\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc(229) : error 025: function heading differs from prototype
Spring Vale Roleplay\gamemodes\sprp.pwn(1210) : error 025: function heading differs from prototype
PHP код:
forward e_COMMAND_ERRORS:OnPlayerCommandPerformed(playerid, cmdtext[], e_COMMAND_ERRORS:success);