Why would you do that? To execute code clientside, it does have to go to the client' computer, that's how networking works.
Focus on serverside code and try to put everything there, leaving clientside only for clientside code.
You can make it hard but you can never make it impossible.
That's an easy fix. You don't have to concatenate the end of the string if it's not followed by anything.
function ad (msg)
outputChatBox ( "#fbe0ff[Hiradó]: " .. msg, getRootElement(), 255, 255, 255, true )
end
addCommandHandler ("hirado", ad)
This will work.
If you want to continue the string after msg, here's how it would look:
function ad (msg)
outputChatBox ( "#fbe0ff[Hiradó]: " .. msg .. " and yeah", getRootElement(), 255, 255, 255, true )
end
addCommandHandler ("hirado", ad)
Hey. I was about to make a UCP for an upcoming project but figured out that it doesn't use mysql to save all the data like everything I have used does it. So I got a question, how do I access both the login info and data saved with setAccountData from web?
I figured out that I can try to make a call to the server from web using the SDK, but how would I go with accessing the data inside the login database?
Sorry but I am extremely late for the media. It was pretty hard arranging the times so we can take some, and these are some basic screenshots. A video of a full scenario coming up soon!
Also, please mind my name, when starting a match, every player gets assigned a RP name, also known as fake name and I created a function where you can set a permanent one. I got original.