Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: abdulfussy on January 23, 2013, 03:52:24 pm

Title: help
Post by: abdulfussy on January 23, 2013, 03:52:24 pm
i wnat to ask how to make server name under screen ingame
Title: Re: help
Post by: sseebbyy on January 23, 2013, 04:13:34 pm
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:
Code: [Select]
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)
Title: Re: help
Post by: abdulfussy on January 23, 2013, 04:35:38 pm
man how top ut in mnay colors like each letter in one collor
Title: Re: help
Post by: sseebbyy on January 23, 2013, 05:08:26 pm
Use code of color before any word/letter/digital.

like this:
Code: [Select]
GameTextForAllBottom("~y~yellow ~p~purple ~b~blue");
GameTextForAllBottom("~y~s~o~e~p~r~h~v~x~e~y~r");