12.07.2010, 01:36
(
Последний раз редактировалось Jackster; 12.07.2010 в 01:49.
)
I have this.
The "new Text:Textdraw0;" Im quessing goses under the includes?
The stuff that gose under OnGameModeInit, I put it in "on its own" and got errors.
What do i have to add?
Thanks
Код:
//On top of script: new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; //In OnGameModeInit or any other place, we procced to create our textdraw: Textdraw0 = TextDrawCreate(4.000000,330.000000,"Original Cops And Robbers"); Textdraw1 = TextDrawCreate(3.000000,317.000000,"Welcome to"); Textdraw2 = TextDrawCreate(453.000000,2.000000,"Hosted by www.sampservers.info"); TextDrawAlignment(Textdraw0,0); TextDrawAlignment(Textdraw1,0); TextDrawAlignment(Textdraw2,0); TextDrawBackgroundColor(Textdraw0,0xff00ff99); TextDrawBackgroundColor(Textdraw1,0x00ff0099); TextDrawBackgroundColor(Textdraw2,0x0000ff99); TextDrawFont(Textdraw0,2); TextDrawLetterSize(Textdraw0,0.299999,1.100000); TextDrawFont(Textdraw1,2); TextDrawLetterSize(Textdraw1,0.399999,1.000000); TextDrawFont(Textdraw2,3); TextDrawLetterSize(Textdraw2,0.299999,1.000000); TextDrawColor(Textdraw0,0xffffffff); TextDrawColor(Textdraw1,0xffffffff); TextDrawColor(Textdraw2,0xffffffff); TextDrawSetOutline(Textdraw0,1); TextDrawSetOutline(Textdraw1,1); TextDrawSetOutline(Textdraw2,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetProportional(Textdraw1,1); TextDrawSetProportional(Textdraw2,1); TextDrawSetShadow(Textdraw0,3); TextDrawSetShadow(Textdraw1,1); TextDrawSetShadow(Textdraw2,1);
The stuff that gose under OnGameModeInit, I put it in "on its own" and got errors.
What do i have to add?
Thanks