Код:
//the text draws ((Don't need this (I use it to remind myself what it is))
new Text:Textdraw1;
new Text:Textdraw0;
//************************the Website textdraw************************************
Textdraw1 = TextDrawCreate(1.000000,433.000000,"your website here");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,2);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw1,1);
//**************************the textdraw above hp*******************************
Textdraw0 = TextDrawCreate(542.000000,54.000000,"what ever here");
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x000000ff);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,0.299999,1.100000);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,4);
//******************************************************************************
//above hp textdraw
TextDrawShowForPlayer(playerid, Textdraw0);
//bottom left hand corner of the screen
TextDrawShowForPlayer(playerid, Textdraw1);
//They must BOTH be added as otherwise when you spawn it will dissapear.
Код:
C:\Documents and Settings\xxx\My Documents\xx\xxx\gamemodes\xxx.pwn(10372) : error 010: invalid function or declaration
C:\Documents and Settings\xxx\My Documents\xxx\xxx\gamemodes\xxx.pwn(10382) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
----------------------------S O L V D-------------------------------------
----------------------------- --------------------------------------