27.07.2013, 17:31
Look here:
Warning:
I cannot understand - what is the problem with that? The command works, but I just don't want to warning.
Quote:
public OnPlayerText(playerid, text[]) { if (realchat) { new sendername[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); sendername[strfind(sendername,"_")] = ' '; format(string, sizeof(string), "%s says: %s", sendername, text); ProxDetector(30.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5); new lengthtime = strlen(text); new time = lengthtime*50; ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0, 0,0,time); return 0; } (LINE 19 return 1; } |
Quote:
(19 : warning 217: loose indentation |