Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. A. i lost the thread on mac os x in virtual box so... No Q. Can you ?
  2. again using qserverside and client side functions in same code
  3. function EMP() Dont know why that is copied doh but atleast i didnt copy thw wole code lmao
  4. A tell me when it is updated i couldnt find anythign there Q. is there some thing there ?
  5. A.Yes and thanx u reminded me i should visit today Q. What was the google code page again ?
  6. A.in my opinion no Q.ur gonna set him to idiot rank ransom ?
  7. this is because the team has to be created in the script so try with createTeam function
  8. bandi look at my code im the one who is helping him too but i agree haze use cancelevent
  9. oh ok Try this ArmyVehicles = local vehicle = createVehicle ( 520, 302.74, 1818.85, 17.64) ArmyTeam = { ["Army"]=true } function ArmyenterVehicle ( player, seat, jacked ) local team = getPlayerTeam(player) if ( ArmyVehicles[getElementModel ( source )] ) and ( not ArmyTeam[getTeamName ( team )] ) and ( seat == 0 ) then removePedFromVehicle ( player )--force the player out of the vehicle outputChatBox ( "You aren't an Army Member , you mayn't drive this.", player ) --and tell the player why end end addEventHandler ( "onVehicleStartEnter", getRootElement(), ArmyenterVehicle )
  10. What ? it dont show up ? try this ArmyVehicles = createVehicle ( 520, 302.74, 1818.85, 17.64) ArmyTeam = { ["Army"]=true } function ArmyenterVehicle ( player, seat, jacked ) local team = getPlayerTeam(player) if ( ArmyVehicles[getElementModel ( source )] ) and ( not ArmyTeam[getTeamName ( team )] ) and ( seat == 0 ) then removePedFromVehicle ( player )--force the player out of the vehicle outputChatBox ( "You aren't an Army Member , you mayn't drive this.", player ) --and tell the player why end end addEventHandler ( "onVehicleStartEnter", getRootElement(), copenterVehicle )
  11. oh i see waht if u put the hydra mabe just some higher in z cordinates and it attach it higher too ? lift = createObject ( 3115, 1515.3249511719, -2945.1364746094, -60, 0, 0, 0) hydra = createVehicle ( 520, 1515.7152099609, -2945.6892089844, -10, 0, 0, 0 ) function Gate_down () moveObject (lift, 3115, 1515.3249511719, -2945.1364746094, 1.7000000476837, 0, 0, 0 ) end addCommandHandler ("hydra1", Gate_down) function Gate_Up () moveObject (lift, 3115, 1515.3249511719, -2945.1364746094, -60, 0, 0, 0 ) end addCommandHandler ("hydra2", Gate_Up) attachElements ( hydra, lift, 0, 0, 3, 0, 0, 0 ) addEventHandler ( "onVehicleEnter", getRootElement(), function ( thePlayer, seat) detachElements ( hydra, lift ) end ) Just something i came up with may not work im not good with cordinates
  12. to fix this open cmd type ipconfing take youip adress or ipv4 adress from there then put that in mtaserver.cif then open the ports u chose
  13. setVehicleEngineState Dont know why i copied that
  14. What ? if it does deatach now i think i know waht your probelm is a hydra underwater cant start to fix this make a command to startthe engine again when you want to start engine use setVehicleEngineState
  15. Do you get any errors in /debugscript 3 lift = createObject ( 3115, 1515.3249511719, -2945.1364746094, -60, 0, 0, 0) hydra = createVehicle ( 520, 1515.7152099609, -2945.6892089844, -10, 0, 0, 0 ) function Gate_down () moveObject (lift, 3115, 1515.3249511719, -2945.1364746094, 1.7000000476837, 0, 0, 0 ) end addCommandHandler ("hydra1", Gate_down) function Gate_Up () moveObject (lift, 3115, 1515.3249511719, -2945.1364746094, -60, 0, 0, 0 ) end addCommandHandler ("hydra2", Gate_Up) attachElements ( hydra, lift, 0, 0, 2, 0, 0, 0 ) addEventHandler ( "onVehicleEnter", getRootElement(), function ( thePlayer, seat) detachElements ( hydra, lift ) end ) Not tested dont know if works
  16. A. Dont think so i like girls Q, Why do you want to know if im gay ?
  17. More info please waht scripts u need and things like that If the scripts are big u have to pay a scripter
×
×
  • Create New...