I find the problem is that people are too Capitalist. Lots of people are willing to help for free, whereas some aren't, but they shouldn't be demanding money when the project leader obviously doesn't want to spend any money. Just don't post, and allow somebody who is willing to work, to reply.
Anyway, good luck with your server, and since when does 'Real life' mean zombies?
This isn't related to lag, but checking whether res == getThisResource() is totally pointless, as the event is only triggered for resourceRoot. Due to this, the function params doesn't need the res declaration.
To begin your 30-day trial* of scripting support, simply enter your credit card details below*.
* The trial is not free.
* Do not enter your details below.
That was not the question he asked. Moreover, if you somehow lose the SQL data, you'll have a bunch of maps that are unusable yet remain on the system.
Thanks!,but how I do to show the "Uploaded maps"?
You can use PHP to allow users to upload the maps, and then use the PHP file functions (such as scandir) to compile a list of uploaded maps.
You can just use
addEventHandler("onPedWasted",criminal5,checkKills)
Which eliminates the need to check whether it was the criminal, and is a lot more efficient as the function doesn't trigger for every ped that dies.
It is possible to create viruses with Lua, however, MTA disables the functions by overwriting them and just returning the C function. You can see how it's done in the CLuaMain class in mtasa-blue.
addEventHandler("onPlayerJoin",root,function() for k, v in ipairs({"ammo","weapon","wanted","area_name","vehicle_name","health","money","clock"}) do showPlayerHudComponent(source,v,false) end end)
Any server using these functions will be very prone to being hacked by modified clients.
You cannot get a return value for servr/client, as they are latent. If you waited for a return, it would halt execution.
Cyber Nations is a cool browser-based simulation game whereby you rule your own nation. In brief it sounds very lame, but it has a lot of depth to it - you have to manage everything to ensure that your nation gains money, has happy civilians, and develops into a powerful nation. It involves a lot of skill, and is both very competitive and addictive.
The game does involve war, and if you want, you can fight against other nations.
It is based entirely on HTML, so any device with a web browser should be able to play it (nice to play when not at home).
You can sign up and try it out by clicking here.
Edit by robhol: reflinks suck, I fixed it for you. You could at least have been open about it, and it shouldn't have been your motivation for recommending it anyway.
With timers you always need to have an isElement check within the function, otherwise you will get errors if the timer is triggered, but the player quits.