05.09.2009, 16:32
Hey boys im tryin to add a fight command and it gives me some errors can u help me to fix them?
command
ERRORS
command
Quote:
if(strcmp(cmd, "/kungfu", true) == 0) { SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU); SendClientMessage(playerid, red, ">> Fighting Style changed to 'Kung-Fu'"); return 1; } |
Код:
warning 217: loose indentation : error 017: undefined symbol "cmd" : warning 217: loose indentation : error 017: undefined symbol "red" : warning 217: loose indentation