18.02.2009, 17:07
I did that before till my pc crashed :S
pawn Код:
//Somewhere before
new Text:servername1;
new Text:servername2;
pawn Код:
//OnGameModeInit (gets called when the server starts - once)
servername1 = TextDrawCreate(0.0, 434.0,"Islenski GTA SA Serverinn");
servername2 = TextDrawCreate(0.0, 0.0,"Islenski GTA SA Serverinn");
TextDrawFont(servername1,3);
TextDrawFont(servername2,3);
TextDrawLetterSize(servername1,20,20);
TextDrawLetterSize(servername2,20,20);
TextDrawColor(servername1,0x00F6FF);
TextDrawColor(servername2,0x00F6FF);
TextDrawSetShadow(servername1,1);
TextDrawSetShadow(servername2,1);
TextDrawSetOutline(servername1,1);
TextDrawSetOutline(servername2,1);
TextDrawBackgroundColor(servername1,0x0F60FF);
TextDrawBackgroundColor(servername2,0x0F60FF);
TextDrawUseBox(servername1,1);
TextDrawUseBox(servername2,1);
TextDrawBoxColor(servername1,0xF600FF);
TextDrawBoxColor(servername2,0xF600FF);
pawn Код:
//OnPlayerConnect (gets called when a player connects)
TextDrawShowForPlayer(playerid, servername1);
TextDrawShowForPlayer(playerid, servername2);