Jump to content

szlend

Members
  • Content Count

    58
  • Joined

  • Last visited

Community Reputation

0 Neutral

About szlend

  • Rank
    Snitch
  1. Nice! XMLGui looks sweet and I like how it communicates in packets. Really looking forward for this. PS. Sent ya a PM
  2. Just made a complete list of San Andreas hidden interiors which contains the name, interior id and location. You can get it here: http://pastebin.com/f4f45a8d1 I didn't test all the interiors but those that I did, work. I've gathered the locations from here. Would be nice if someone could make a wiki page for hidden interiors.
  3. szlend

    DxDrawLine3D

    ARGH look at the chat... I thought another funny superweapon would be a carpet bomb and started coding one but now i have to see that you already already the same idea... lmao i had the same idea. wrong image btw ;P
  4. I had similar problems too. It's funny because i didn't even have that symbol in my SQL command.
  5. It has nothing to do with the race gamemode. It happens in every gamemode and it pisses me because i have to tap F like mad so the player finally get's out of the car...
  6. 1) I wouldn't say Lua's syntax is very similar to C++. Lua: something = 1 if something == 1 then doSomething() else doSomethingElse() end C++ int something = 1; if (something == 1) { doSomething(); } else { doSomethingElse(); } 2) Server-side scripts are executed on the server while client-side scripts are downloaded for the client and executed locally. Some functions like GUI stuff can be used client-side only. 3) You can use any script on any server as long as you have admin access to it. 4) I'm not completely sure what you mean but you can't
  7. szlend

    HELP!!

    Ok dude you ask thousand of questions but have you EVER tried doing something by your self? You have every info you'll need at this forum and wiki so stop being lazy.
  8. http://development.mtasa.com/index.php?title=MoveObject Look at examples at the bottom. You can restrict a command in acl.xml
  9. As much as i know cancelEvent just cancels the original event so there's nothing wrong with that. And about my code, I just wrote an example of how to do it. I never tested it. So DSC-L|Gr00vE[Ger], just debug it dammit...
  10. Also noticed this: function Money( hitElement, matchingDimension) if ( getElementType ( hitElement ) == "player" ) then timers[ source ] = setTimer( givePlayerMoney, 1000, 0, hitElement, 10 ) end end Should be: function Money( hitElement, matchingDimension) if ( getElementType ( hitElement ) == "player" ) then timers[ hitElement ] = setTimer( givePlayerMoney, 1000, 0, hitElement, 10 ) end end And read what 50p said. Why use a ColShape at all?
  11. Read: http://development.mtasa.com/index.php? ... ShapeLeave function money_stop () killTimer( timers[ source ] ) end You are killing the timer for ColShape not the player which is wrong. It should look like this: function money_stop (leaveElement, matchingDimension) if ( getElementType ( leaveElement ) == "player" ) then -- not really needed. just to prevent killing non-existing timers killTimer( timers[ leaveElement ] ) end end
  12. the killTimer just kills the "timer" for the last player. I think the easiest way to work around this is to make the script client side.
  13. That's because he's using onColShapeHit event not OnPlayerMarkerHit
  14. You can only give money to players. Maybe there's another element in that sphere. Try this: function Money( hitElement, matchingDimension) if ( getElementType ( hitElement ) == "player" ) then timer = setTimer( givePlayerMoney, 1000, 0, hitElement, 10 ) end end
  15. Well you should give credits to the real author.
×
×
  • Create New...