Jump to content

(s)ection

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by (s)ection

  1. (s)ection

    help

    hi , i have gamemode stealth but when i try to add gadget it don't work help me please sorry for bad english
  2. Huh, You mean it ? [13:49:09] WARNING: editor_test\server.lua:52: Bad argument @ 'getElementModel' [Expected element at argument 1, got number '448'] [13:49:09] WARNING: editor_test\server.lua:96: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] [13:49:10] WARNING: editor_test\server.lua:32: Bad argument @ 'getElementType' [Expected element at argument 1, got boolean]
  3. But now I don't have money when I hit the marker : function MarkerHit4 ( player ) outputChatBox ( "[You win 1034$ !",player,255,255,0 ) givePlayerMoney ( player, 1034 ) end addEventHandler( "onMarkerHit", am, MarkerHit4 )
  4. Thanks iAbo and WhoAmI the script of iAbo works
  5. ha, i have a problem when the player exit of the vehicle the marker and the blip don't destroy help please function OnEnter ( thePlayer, seat, jacked ) if ( getElementModel ( source ) == 448 ) then outputChatBox ( "Job started !",player,255,255,0 ) local am = createMarker(-2075.11133,900.70227,64.13281 - 1, "cylinder", 3, 0, 102, 51, 153) local ab = createBlip (-2075.11133,900.70227,64.13281, 0, 3, 102,51,153 ) end end addEventHandler ( "onVehicleEnter", getRootElement(), OnEnter ) function OnExit ( am ,ab ,thePlayer, seat, jacked ) if ( getElementModel ( source ) == 448 ) then destroyElement( source ) outputChatBox ( "You quitted your job.",player,255,0,0 ) destroyElement ( ab ) destroyElement ( am ) end end addEventHandler ( "onVehicleExit", getRootElement(), OnExit )
×
×
  • Create New...