That's not really secure as you are able to download anything from the server's HTTP server, but average player has no idea about these things and thieves are not the smartest ones.
If you're creating the picture clientsided (i guess you're not using takePlayerScreenshot) then the server will be like the middle man that will receive it from the first player that made the screenshot and then using triggerClientEvent it will send the data to the player that requested the screenshot and this player will then display it. Best way would be to save the image data using fileCreate and fileWrite and then display that using guiCreateStaticImage.
It's simple use these:
onClientPlayerWasted
playSound
And try to learn, it's better than if someone posted the whole code for you here and you just copied it... i'm sure someone will do that though.
You can't remove them but only disable them by cancelling onPlayerCommand, you can't even use them as you can't handle them and onPlayerCommand doesn't provide the arguments.
using givePlayerMoney clientsided isn't good idea really... and he wants to check if the local player has 5000 or more...
Simply:
if getPlayerMoney() > 4999 then
--Whatever you need doing
else
outputChatBox("Not enough money")
end
No, if the vehicle is blown it's still there... it doesn't mean anything. Element data will be removed when the element is destroyed, blown up vehicle is not destroyed element.
You don't change anything, and gta3.img is in GTA folder. You don't change its contents, you just replace the model in game through engine functions (look up at wiki).
The first argument in the triggerClientEvent is optional and is the element it will get sent to. Its root by default so just put killer before the name of the event and that should do it.
addCommandHandler("t12",function()
setTime(12, 0)
setMinuteDuration(3600000)
outputChatBox("Time changed to 12:00!")
end)
Here one minute will last one hour.
Replace? Just edit it and then restart it, you don't have to restart the whole server, you never do. if you want to add a new resource then load it using refresh command.