30.05.2010, 20:42
Quote:
Originally Posted by Conroy
OnGameModeInit, Float as in the distance the message travels, I use it at 10.0
Use search feature about the accents, it has been discussed many times. |
Quote:
new Float:distance; public OnGameModeInit() { LimitGlobalChatRadius(Float:distance); // Init our text display txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00"); TextDrawUseBox(txtTimeDisp, 0); TextDrawFont(txtTimeDisp, 3); TextDrawSetShadow(txtTimeDisp,0); // no shadow TextDrawSetOutline(txtTimeDisp,2); // thickness 1 TextDrawBackgroundColor(txtTimeDisp,0x000000FF); TextDrawColor(txtTimeDisp,0xFFFFFFFF); TextDrawAlignment(txtTimeDisp,3); TextDrawLetterSize(txtTimeDisp,0.5,1.5); UpdateTime(); SetTimer("UpdateTime",1000 * 60,1); DisableInteriorEnterExits(); SendRconCommand("mapname • Los Santos •"); SetGameModeText("Navi Roleplay"); AddPlayerClass(26,1642.5612,-2241.1753,13.4939,182.2707,0,0,0,0,0,0); return 1; } |