buy the most recent ones they are better. still have the gear thing but its there to stop hackers or deter them from leaving the game and coming back with hacks.
thanks will also try this out when I'm off work. thank you! I think i can use the instance id part for the different safe zones.
@OP sorry for highjacking :p
how can i use this is a script like the "safezone's"? currently. I want to pull/store the user id in a database and place them in the script.
would it work like this? or do i need to then format it somehow to look like this "123141" , "345353" , "456353"
// define query
_key = format...
oh i c yeah that's a lot different. idk how to add inventory to a map editor vehicle. I would guess there is an option to add it in the editor and then save that into your mission file somehow. Might be easier to use a weapon cache like they have here.
I do not think we are allowed to help anyone from Brazil here... :p
Anyway i think what you want to do is goto the vehicle table and change what items the vehicle spawns with. For example the huey spawns with 5 cokes in it like this:
[[[], []], [["ItemSodacoke"], [5]], [[], []]]
but you...
it is possible to run it while the server is running. it wont fix anything till rs and anything damaged prior will still be damaged as it will be over written.
jevans my brother this is going to change your life(I hope your sitting down):
update instance_vehicle
set fuel=1, damage=0, parts='[]'
Run that query and in a matter of seconds every car on your map with be full refueled and repaired. If you are using the .st phpmyadmin simple open the...
so say you wanted to pull a group of admins who can use a script you could do...
_playerisadmin = format["CHILD:999:select adminID, from admins where instance_id = ?:[%1]:", dayZ_instance];
then _playerisadmin would be your list of admins?
I would guess you could use something like the code here since this is doing just that. But I'm not that great with c++ so i dont see the part where it actually does the "display message on server". I see the rpt logs but not the global msg to server.
I'm starting to figure it out. I have been doing c++ tuts to understand the code. If i come up with a solution i will let you know. Thanks for your help!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.