Error message on a textdraw?
#4

Sorry for double post,
Ok I came up with this stock
Код:
stock ShowErrorMessage( playerid, string[] )
{
	 if( PlayerInfo[playerid][LoggedIn] == 0 ) return 1;
	 PlayerTextDrawShow( playerid, ErrorMessage[playerid] );

	 new strings[128];
	 format( strings, 128, "Error: %s", string );
	 PlayerTextDrawSetString( playerid, ErrorMessage[playerid], strings );

	 SetTimerEx("HideErrorMessage", 3850, false, "d", playerid );
	 PlayerPlaySound(playerid, 1085, 0, 0, 0 );

	return 1;
}
How would I still use the "syntax" message?

EDIT: and the timer?
Код:
SetTimerEx("HideErrorMessage", 3850, false, "d", 1337);
Reply


Messages In This Thread
Error message on a textdraw? - by BleverCastard - 23.04.2012, 18:10
Re: Error message on a textdraw? - by ViniBorn - 23.04.2012, 18:17
Re: Error message on a textdraw? - by BleverCastard - 23.04.2012, 18:23
Re: Error message on a textdraw? - by BleverCastard - 23.04.2012, 18:29
Re: Error message on a textdraw? - by ViniBorn - 23.04.2012, 18:36
Re: Error message on a textdraw? - by BleverCastard - 23.04.2012, 18:45
Re: Error message on a textdraw? - by ViniBorn - 23.04.2012, 18:50
Re: Error message on a textdraw? - by BleverCastard - 23.04.2012, 18:55
Re: Error message on a textdraw? - by ViniBorn - 23.04.2012, 19:02
Re: Error message on a textdraw? - by BleverCastard - 23.04.2012, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)