local convo = {} local timer = {} local timed = {} local started = {} function convo_init(e) convo[e] = 0 timer[e] = 0 timed[e] = 0 started[e] = 0 response[e] = 0 end function convo_main(e) PlayerDist = GetPlayerDistance(e) if PlayerDist < 400 then RotateToPlayer(e) if convo[e] == 0 then TextCenterOnX(50,84,3,"Hey Soldier dont forget your Field Base Kit") TextCenterOnX(50,87,3,"Its in the Stores behind me") if timer[e] == 0 then timed[e] = GetTimer(e) timer[e] = 1 end if GetTimer(e) > timed[e] + 4000 then convo[e] = 1 timer[e] = 0 end end if convo[e] == 1 then TextCenterOnX(50,84,3,"You wont last long on this planet without it!") TextCenterOnX(50,87,3,"Good Hunting, and Good Luck out there!") if timer[e] == 0 then timed[e] = GetTimer(e) timer[e] = 1 end if g_InKey == "e" then convo[e] = 100 timer[e] = 0 end if GetTimer(e) > timed[e] + 4000 then convo[e] = 2 timer[e] = 0 end end if convo[e] == 2 then TextCenterOnX(50,84,3,"well off you go then!") if g_InKey == "e" then convo[e] = 100 timer[e] = 0 end end end end