Jump to content

S3M

Members
  • Posts

    64
  • Joined

  • Last visited

Everything posted by S3M

  1. S3M

    Looking 4

    Hi there, i'm looking for a script what makes a spawnpoint onplayername. so that i can give every player his own spawnpoint. any have somthing like this? thx.
  2. S3M

    Can any help me out?

    okay thanks for the attention, I found the solution on another topic it was about the same problem and script.
  3. thanksss it's work Lol i find the same problem with the same script, I had a topic on here opened today https://forum.multitheftauto.com/viewtopic.php?f=91&t=41715
  4. S3M

    Can any help me out?

    Its working now with player on team police, but it give this warning to: Bad 'player' pointer @ 'getPlayerTeam'(1) on that scrip at line180 I was wrong, there is a problem with line 14 and 23. warning Bad 'player' pointer @ 'getPlayerTeam'(1)
  5. S3M

    Can any help me out?

    Its working now with player on team police, but it give this warning to: Bad 'player' pointer @ 'getPlayerTeam'(1) on that scrip at line180
  6. S3M

    Can any help me out?

    Thx for help me out, but now there is a error on line 184, it says: 'end' expected (to close 'function')
  7. This script is from resource named "door" made by DakiLLa. Now I have been trying to try that player need police skin or needed police team then the door goes open onmarkerhit. I have tried many ways to add that feature, but until now no good result I have multiple doors I would like to add this feature. Someone who can fix this feature? If this has been fixed then I can the rest of the doors on my map also, it would be awesome. checkGateMarker = createMarker ( 1588.455078125, -1638.328125, 13.391061782837, "corona", 10, 0, 0, 255, 0 ) function createGate () gatePolice = createObject ( 10558, 1588.9000244141, -1638.4000244141, 14.5, 0.000000, 0.000000, 89.000000 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createGate ) function gateCheckingTeam ( thePlayer, matchingDimension ) moveObject ( gatePolice, 3000, 1588.9000244141, -1638.4000244141, 18.5, 0.000000, 0.000000, 0.000000 ) end addEventHandler ( "onMarkerHit", checkGateMarker, gateCheckingTeam ) function onLeave ( thePlayer, matchingDimension ) setTimer ( movingBackPolice, 3000, 1, thePlayer ) end addEventHandler ( "onMarkerLeave", checkGateMarker, onLeave ) function movingBackPolice () moveObject ( gatePolice, 3000, 1588.9000244141, -1638.4000244141, 14.5, 0.000000, 0.000000, 0.000000 ) end createBlip ( 1588.455078125, -1638.328125, 13.391061782837, 37 ) Thanks.
  8. S3M

    Need help

    It works now how it was intended, alot thx Solidsnake14 and Draken to help me.
  9. S3M

    Need help

    Hahaha yes indeed LOL, it work but now wen i respawn after death by onfire, i stay on fire now. it dont stop. LOL burn for ever?
  10. S3M

    Need help

    Now if you run into marker then you onfire one time, but the intention is that as a player in marker remains that he remains onfire.
  11. S3M

    Need help

    Testing them try copy paste try testing... and so on. But unfortunately am I unable to add that setTimer. Can you help me more on the way?
  12. S3M

    Need help

    Oke now that works hehehe can you make it that if player stay in marker that player stay onfire. Becouse if now stay on marker player goes onfire one time.
  13. S3M

    Need help

    Aaah oke, thx for answer so fast and alot thx for fix this, now i learn a litte more about marker and root element. THX Alpha
  14. S3M

    Need help

    The idea is that if player onMarkerHit onFire he goes. But now if any player onMarkerHit, then everyone goes onfire. What am I doing wrong? local myMarker = createMarker(2489.1613769531, -1668.5617675781, 11.800, 'cylinder', 2.2, 255, 0, 0, 150) function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) setPedOnFire ( getRootElement(), true ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
×
×
  • Create New...