warning - 'time'
#3

Quote:
Originally Posted by Vince
View Post
Don't create global variables with generic names like "time". Also the messages are referring to impl.inc, not your script.
new Text:TD_iPhone_Time[3];
that's single global variable that is used ONLY in ongamemodeinit

stock va_GameTextForPlayer(playerid, const fmat[], time, style, va_args<>)
{
return GameTextForPlayer(playerid, va_return(fmat, va_start<4>), time, style);
}
stock va_GameTextForAll(const fmat[], time, style, va_args<>)
{
return GameTextForAll(va_return(fmat, va_start<3>), time, style);
}
539 & 544 from warnings
Reply


Messages In This Thread
warning - 'time' - by ImTouchk - 04.11.2016, 19:46
Re: warning - 'time' - by Vince - 04.11.2016, 19:49
Re: warning - 'time' - by ImTouchk - 04.11.2016, 19:52

Forum Jump:


Users browsing this thread: 3 Guest(s)