Jump to content

EeZeeRo

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

EeZeeRo's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. /youndexfood_job/30: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] 1 local getJobPick = createPickup (-449.05, 595.59, 16.91, 3, 1275, 0) 2 job = false 3 4 function getJob(player) 5 if player == localPlayer then 6 if job == false then 7 job = true 8 outputChatBox("Ты устроился на работу!") 9 OrderMarker = createMarker(-440.51703, 601.22876, 16.01869, "cylinder", 2, 0, 155, 255, 200) 10 OrderSphere = createColSphere(-440.51703, 601.22876, 17.01869, 2) 11 else 12 job = false 13 outputChatBox("Ты уволен, катись нахрен отсюда!") 14 destroyElement(OrderMarker) 15 destroyElement(OrderSphere) 16 end 17 end 18 end 19 addEventHandler("onClientPickupHit", getJobPick, getJob) 20 21 function getOrder() 22 if player == localPlayer then 23 if job == true then 24 outputChatBox("Иди в попу") 25 else 26 outputChatBox("Ты тут не работаешь!") 27 end 28 end 29 end 30 addEventHandler("onClientColShapeHit", OrderSphere, getOrder) Please, help me.
  2. Sorry guys, i found answer destroyElement(markerVariableName)
  3. Hello, I am from Russia and my knowledge of English is very poor, I use a translator and I hope that you will understand me. I have a problem, I can't delete the marker via markerVariableName = false nothing happens How do I create it correctly so that I can delete it? I hope you can help me
×
×
  • Create New...