Jump to content

Thehookerkiller01

Members
  • Posts

    328
  • Joined

  • Last visited

Everything posted by Thehookerkiller01

  1. And can you just let follow him the cop in DP2.3? And just replace getElementModel with getPlayerSkin and replace Ped with Player. That would be hard, but what do you mean with face the cop?
  2. Maybe try: function onColShapeHit ( thePlayer, matchingDimension ) if ( getElementType ( thePlayer ) == "player" ) then -- your function here end end
  3. Erm, add my on msn. My msn is: [email protected] And please dont email me. Can't see it and can't open my email.
  4. No, just another error. Script: function createstartvehicles ( playerSource, source, commandName, car, x, y, z ) -- the function allows specification of your car, and the position fadeCamera ( source, false, 1.0, 255, 0, 0 ) -- fade the player's camera to red over a period of 1 second setTimer ( fadeCamera, 500, 1, source, true, 0.5 ) local racevehicle == createVehicle ( 420, x, y, z ) -- create a vehicle at the position specified by the startrace command warpPlayerIntoVehicle ( playerSource, racevehicle ) -- warp them straight into the vehicle setElementPosition ( source, 2002.5007324219, -1445.4700927734, 13.6 ) removePlayerFromVehicle ( source ) end Then the error: [09:12:02] SCRIPT ERROR: .../MTA/mods/deathmatch/resources/race/script.lua:39: unexpected symbol near '==' [09:12:02] INFO: Loading script failed: .../MTA/mods/deathmatch/resources/race/script.lua:39: unexpected symbol near '=='
  5. You just should have to save setAccountData ( playeraccount, "money", playermoney ) in another file. And for the onPlayerJoin part the sever have to know who the player is. And how many money he or she has. Maybe try getClientName or something.
  6. What's this doing there... http://development.mtasa.com/index.php?title=FadeCamera function addRednessOnDamage ( ) fadeCamera ( source, false, 1.0, 255, 0, 0 ) -- fade the player's camera to red over a period of 1 second setTimer ( fadeCamera, 500, 1, source, true, 0.5 ) -- don't let it go to opaque red, interrupt it after half a second and fade back to normal end addEventHandler ( "onPlayerDamage", getRootElement(), addRednessOnDamage )
  7. Just had made 1 script (yes, at my own ) but there is a error in it: My script: function createstartvehicles ( playerSource, source, commandName, car, x, y, z ) -- the function allows specification of your car, and the position fadeCamera ( source, false, 1.0, 255, 0, 0 ) -- fade the player's camera to red over a period of 1 second setTimer ( fadeCamera, 500, 1, source, true, 0.5 ) -- don't let it go to opaque red, interrupt it after half a second and fade back to normal normal local racevehicle = createVehicle ( 420, x, y, z ) -- create a vehicle at the position specified by the startrace command warpPlayerIntoVehicle ( playerSource, racevehicle ) -- warp them straight into the vehicle Error: What's the problem?
  8. Erm, why should i do that? Everyone at my server can play, but he not. Everytime when he connects he get an error. But everyone else at my server can normaly play.
  9. Hey, everytime when my friend joins my server, he have a download error #9. And all the other people in my server can normaly join. What's the problem?
×
×
  • Create New...