Jump to content

S3M

Members
  • Content Count

    64
  • Joined

  • Last visited

Community Reputation

0 Neutral

About S3M

  • Rank
    Snitch

Details

  • Gang
    Bang
  1. hmm grrr I am angry at myself because I had not seen this option, i tried many options, but this option I've overlooked. Thx novo.
  2. Hi there, What is the reason that i dont see the "Can't jump right now" outputChatBox in chat when timer cooldown is on? Script is working fine, only i missed the message. cooldown = {} function createRamp ( player, command ) local vehicle = getPedOccupiedVehicle ( player ) if vehicle and not isTimer( cooldown[player] ) then local x, y, z = getElementPosition ( player ) local theVehicle = getPedOccupiedVehicle ( player ) local a,b,r = getVehicleRotation ( theVehicle ) x = x - math.sin ( math.rad(r) ) * 18 y = y + math.cos ( math.rad(r) ) * 18 ramp = createObject ( 3080, x, y, z
  3. Last question do al player on the map hear this sound or only by whoopee car. it must be only around whoopy car. i think not on this way right?: Server: triggerClientEvent(root, 'Sound', root ) Client: addEvent('Sound', true) addEventHandler('Sound', root, function ( ) local sound = playSound("cash.mp3") setSoundVolume(sound, 0.5) setSoundMaxDistance(sound, 50) end) Thx.
  4. It work now with trigger to root, Thx again.
  5. This isnt posible with sound3D? Only Whoopee hears the cash sound not the player who buy. But it works. Thx Max+
  6. Thank you csmit195 (y) Now i try to setSound3D on sell/bought. I put the next line into but i hear nothing, how to?. What i do wrong? Server: addEvent ( 'TakeAndGive', true ) addEventHandler ( 'TakeAndGive', root , function ( ) local Driver = getVehicleController ( whoopieVehicle ) if ( Driver ) then givePlayerMoney ( Driver, 2 ) takePlayerMoney ( source, 2 ) [color=#FF0000] local x, y, z = getElementPosition(source)[/color] [color=#FF0000] triggerClientEvent ( "triggoncash", getRootElement(),
  7. Wauw SolidSnake14 it works... What can i say, BIG THX.. you want a kiss to? This makes me happy. Aaaah the code of Solidsnake14 are working, but i find a little problem. Wen player enter other car with other skin then he say: Sell ice cream to earn money. Thx. Sorry, i think i got fix the text for now. I use these lines from csmit195 added to Solidsnake14 code: 24.-- Only Mr.Whoopie 25.addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), 26.function() 27. mrwhoopieSkin = { [264]=true } 28. mrwhoopieVehicle = { [423]=true } 29.end 30.) 31.
  8. Wauw SolidSnake14 it works... What can i say, BIG THX.. you want a kiss to? This makes me happy. Aaaah the code of Solidsnake14 are working, but i find a little problem. Wen player enter other car with other skin then he say: Sell ice cream to earn money. Thx.
  9. excuse me man!!!! you thx thank you also Max+
  10. Ehm, why cant i set marker alpha on line 2? if i do set 0 then nothing happend with marker: local whoopieMarker = createMarker ( 0, 0, 0, "arrow", 1, 255, 0, 0, 0 ) Thx NVM, only can set alpha with marker.
  11. Ehm, why cant i set marker alpha on line 2? if i do set 0 then nothing happend with marker: local whoopieMarker = createMarker ( 0, 0, 0, "arrow", 1, 255, 0, 0, 0 ) Thx
  12. Wauw SolidSnake14 it works... What can i say, BIG THX.. you want a kiss to? This makes me happy.
  13. I do not give up easily, but spent many hours spent on and still not do what i want. Now does this resource it yet. I can not even buy something. Thx. Only gui opens now, other functions do not... Thx...
  14. Problem after the update last few days. The names / owner names of the houses from house_system from DakiLLa are gone. Any the same problem?
  15. I give it up, it does not work, enough time spent on this....
×
×
  • Create New...