TextDraw Distance Meters!
#1

hello i have a problem with truck system! i create a textdraw to show distance from point
Code:
new
                Float: fDistance = GetPlayerDistanceFromPoint(playerid, -1215.4589, 1814.6609, 41.7188),
                szMessage[44];
                format(szMessage,sizeof(szMessage),"~p~Distance:~w~~n~%0.2f Meters",fDistance);
                TextDrawSetString(Dis, szMessage);
                TextDrawShowForPlayer(playerid, Dis);
                CT[playerid] = 1;
				GameTextForPlayer(playerid,"~p~Mission~w~ started",4500,3);
				SCM(playerid, COLOR_LIGHTBLUE, "You started a truck mission. Go to the checkpoint to get the money $$$");
				SetPlayerCheckpoint(playerid, -1215.4589,1814.6609,41.7188, 3.0);
i want the textdraw change when i get close to point how can i do that please i need help

Sorry for my bad english
Reply


Messages In This Thread
TextDraw Distance Meters! - by TuFF12 - 12.12.2015, 11:46
Re: TextDraw Distance Meters! - by Yochui - 12.12.2015, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)