[SOLVED] help with vrp prompt!

Hello I need help with vrp prompt, can anybody help

The problem is that the event isn’t triggered when I type 99

	RegisterServerEvent('Prompter')
		AddEventHandler('Prompter', function()
			vRP.prompt({source,"Password :","",function(player,target_id) 
				if target_id ~= nil and target_id == 99 then 
					TriggerEvent('Main:EventGO')
				else
					--vRPclient.notify(player,{"~r~Wrong password!"})
				end 
			end})
		end)

Thanks,

I know its so late, but I have the solution for this and I wanna help the community…

The “target_id” variable is a string, so we have to convert it to an integer using “tonumber()” :

	RegisterServerEvent('Prompter')
		AddEventHandler('Prompter', function()
			vRP.prompt({source,"Password :","",function(player,target_id) 
local result = tonumber(target_id)
				if result ~= nil and result == 99 then 
					TriggerEvent('Main:EventGO')
				else
					--vRPclient.notify(player,{"~r~Wrong password!"})
				end 
			end})
		end)