16.03.2009, 11:06
Here's my code:
The gas and newstring stuff is just other stuff below it. But when I compile it my compiler just crashed. What's wrong with it?
Код:
public OnGameModeInit()
Textdraw0 = TextDrawCreate(-1.000000,66.000000," ");
Textdraw1 = TextDrawCreate(1.000000,417.000000,"My Text");
TextDrawAlignment(Textdraw0,0);
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw0,0x000000ff);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,1.000000);
TextDrawFont(Textdraw1,0);
TextDrawLetterSize(Textdraw1,1.000000,2.999463);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawColor(Textdraw1,0x00ff00cc);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawSetShadow(Textdraw1,5);
{
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}

