Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: abdulfussy on January 23, 2013, 03:52:24 pm
-
i wnat to ask how to make server name under screen ingame
-
I think you are talking about GameTextForAllBottom(const string[]); (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/GameTextForAllBottom) function.
If you want to be your server name seen by all players, I will suggest you to add the function at "OnPlayerSpawn" (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/OnPlayerSpawn).
Something like this:
public OnPlayerSpawn(playerid,classid)
{
GameTextForAllBottom("~b~server-name"); // blue colored
return 1;
}
You can use and different colors like yellow,blue,green etc.
For more info about game text codes (for colors), click here. (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/GameTextCodes)
-
man how top ut in mnay colors like each letter in one collor
-
Use code of color before any word/letter/digital.
like this:
GameTextForAllBottom("~y~yellow ~p~purple ~b~blue");
GameTextForAllBottom("~y~s~o~e~p~r~h~v~x~e~y~r");