21.11.2012, 20:14
I seem to get this error with my textdraw
I have
At the top of my script
In ongamemodeinit
In onplayerconnect
I don't see the problem, can somebody help please, thanks.
Код:
C:\Users\Josh\Desktop\Creekside\csrp.pwn(2599) : error 055: start of function body without function header C:\Users\Josh\Desktop\Creekside\csrp.pwn(2607) : error 010: invalid function or declaration C:\Users\Josh\Desktop\Creekside\csrp.pwn(2699) : error 055: start of function body without function header C:\Users\Josh\Desktop\Creekside\csrp.pwn(2701) : error 010: invalid function or declaration C:\Users\Josh\Desktop\Creekside\csrp.pwn(43243) : warning 203: symbol is never used: "weburl" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
new Text:weburl;
Код:
{
weburl = TextDrawCreate(238 ,460 , "www.csroleplay.net");
TextDrawFont(weburl , 0);
TextDrawLetterSize(weburl , 0.6, 4.2);
TextDrawColor(weburl , 0xffffffFF);
TextDrawSetOutline(weburl , true);
TextDrawSetProportional(weburl , true);
TextDrawSetShadow(weburl , 1);
return 1;
}
Код:
{
TextDrawShowForPlayer(playerid, weburl);
return 1;
}
I don't see the problem, can somebody help please, thanks.

