SA-MP Forums Archive
some error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: some error (/showthread.php?tid=84278)



some error - BLACK-RIDER-1692 - 29.06.2009

i wants add my gamemode with that
http://forum.sa-mp.com/index.php?topic=104402.0
put i get some error *1*
Код:
//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.
And I get that error

Код:
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.



Re: some error - Correlli - 29.06.2009

And where's the error?


Re: some error - BLACK-RIDER-1692 - 30.06.2009

now is errors here



Re: some error - Grim_ - 30.06.2009

Which lines do the errors occur?


Re: some error - BLACK-RIDER-1692 - 30.06.2009

----------------------------S O L V D-------------------------------------
----------------------------- --------------------------------------
-_
~