03.06.2015, 23:13
Ohh sorry, change OnPlayerCommandPerformed to OnPlayerCommandReceived, i dont know what make it different, but it should work.
Quote:
It didn't work. I'm using YSI 4.0.
Code:
public e_COMMAND_ERRORS:OnPlayerCommandPerformed(playerid, cmdtext[], e_COMMAND_ERRORS:success) { switch (success) { case COMMAND_UNDEFINED: { SendErrorMessage(playerid, "Bu komut mevcut değil. Komut listesini gцrmek iзin /yardim yazın."); } } return COMMAND_OK; } |