GTA Közösség - A magyar GTA fórum
Multi Theft Auto (MTA) => MTA: Szerverfejlesztés => Archívum => A témát indította: Roka Daniel - 2014. július 12. - 23:33:40
-
Valaki segitene hogy ebbe a HUD ba hogyan lehet Blip-eket rakni hogy mutassa amikor a közelébe vagyok?
-
Itt minden le van írva.
-
-- Pick a random player
local myPlayer = getRandomPlayer( )
-- Retrieve the player\'s position and store it in the variables x, y and z
local x, y, z = getElementPosition( myPlayer )
-- Create a radar blip at the player\'s position, with a \'cash\' icon and only visible to the player
local myBlip = createBlip( 2035.31213, 1431.52319, 10.82031, 51, 0, 0, 0, 255, myPlayer )
-- Pick a random player
local myPlayer = getRandomPlayer( )
-- Create a radar blip in the middle of the map
local myBlip = createBlip( 2035.31213, 1431.52319, 10.82031 )
-- Make the player the parent of the blip, so that the blip follows the player around
setElementParent( myBlip, myPlayer )
Ezt kell beirni?vagy ígykell?
-
Szerintem ezt próbáld meg újra. Elsőre feltűnt hogy a design a See-ről van.
-
Design röl semmit nemkértem a Blip ekröl kértem segitséget de azért mindenbe belekell kötni.
-
[mod]Elavult, zárom.[/mod]