05.11.2013, 20:05
HI! I Have been adding new commands to my gamemode and when I use it ingame they work perfectly, but I get the error message "Unknown command".
Here's the OnPlayerCommandPerformed:
Thanks!
Here's the OnPlayerCommandPerformed:
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) { new string[99]; format(string, sizeof string, "{FF0000}[ERROR] {FFFFFF}El comando no existe!", cmdtext); Message(playerid, -1, string); } return 1; }