My question is how to send a data to the server in a personal way with the client, that is, without including all the clients.
Client side
function AAB (pia)
triggerServerEvent ("KnowAmount", getLocalPlayer(), pia )
end
--======================================================================
Server Side
function KnowAmountFunction (pia)
outputChatBox ("AA") -- This show ALL Client, and that's what I want to avoid
if (pia == 1) then
PasajENP = PasajENP_a1 -- This change for all players, and it should not be like that
triggerClientEvent (client, "GotoClient", resourceRoot, PasajENP )
end end
addEvent( "KnowAmount", true )
addEventHandler( "KnowAmount", getRootElement(), KnowAmountFunction )