It is currently Tue 19. Mar 2024 10:03:06

All times are UTC + 1 hour [ DST ]




Post new topic  Post a reply   Page 1 of 1  [ 1 post ] 
Author Message

MatrX
PostPosted: Sun 18. Aug 2013 22:06:29 
offline
'Infernus'
'Infernus'
User avatar

Joined: Sat 30. Jun 2012 0:54:16
Posts: 546
Location: Mars

Points: 4 258 845
Cash: $3 021 998
1. udelejte si client2.lua a vpište do nej tohle, samozrejme to i upravte na svuj marker a na svoji rychlost hry.

Code:
asd = getLocalPlayer()

function slowmo()
marker = createMarker(x, y, z, "type", size, r, g, b, a)        -x,y,z - lokalizace   -"type" - typ markeru, treba corona,checkpoint  "size" velikost markeru, rgb - barvy v Red Green Blue , a - alpha

end

function MarkerHit ( hitPlayer, matchingDimension )
vehicle = getPedOccupiedVehicle ( hitPlayer )
if hitPlayer ~= asd then return end
if source == marker then
setGameSpeed(0-10)         -zde setneme rychlost hry když se player dotkne markeru
end
end

addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), slowmo )
addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerHit )

2. pak tohle dáte do meti v mape.
Code:
    <script src="client2.lua" type="client"></script>


Nic težkýho, Snad vam to pomohlo :3
~UN!T

___________________
Spoiler: show
Image


Top
   
 
Display posts from previous:  Sort by  
Post new topic  Post a reply   Page 1 of 1  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
TOPlist
Powered by phpBB® Forum Software © phpBB Group

©MSHost.cz