Posts: 435
Threads: 26
Joined: May 2008
Reputation:
0
Hi,
i want have a textdraw in middle of my monitor if i join my server.
Like: Welcome To xxxxxxxxx
Visit: xxxxxxxxxx
(with colours)
have anyone the code for it
Posts: 435
Threads: 26
Joined: May 2008
Reputation:
0
OK thx and where i must paste it?
nd how can i add more lines?
format(string, sizeof(string), "%s Welcome To server", JName);
format(string, sizeof(string), "Visit us: xxxx", JName);
is this right?
Posts: 2,593
Threads: 34
Joined: Dec 2007
Код:
format(string, sizeof(string), "%s Welcome To server~n~Visit us: xxxx", JName,something);
Posts: 435
Threads: 26
Joined: May 2008
Reputation:
0
Okay ty, and how can i colour it? And where i must paste it
Posts: 472
Threads: 72
Joined: Aug 2008
Reputation:
0
error
D:\VISKAS~1\Serveris\Server1\GAMEMO~1\LT-SF.pwn(546) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
forward TimeTextForPlayer(playerid, Text:text, time)
public TimeTextForPlayer(playerid, Text:text, time)
{
TextDrawShowForPlayer(playerid,text);
SetTimerEx("DestroyTextTimer",time,0,"i",_:text); // from Simon
}
forward DestroyTextTimer(Text:text);
public DestroyTextTimer(Text:text)
{
TextDrawDestroy(text);
}