[FilterScript] Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta]
#12

Quote:
Originally Posted by iBots
View Post
cant you convert it into Zcmd or strcmp?
nice by the way
It is zcmd.



Quote:
Originally Posted by [uL]Pottus
View Post
- Lots of variables that SHOULD be in enums
True. Was already half way done when doing this but changing it shouldn't be too hard.

Quote:
Originally Posted by [uL]Pottus
View Post
- Too much code in a single script
- This should be a include not a filterscript how is anyone to effectively implement this into a gamemode? Using CallRemoteFunction() and/or PVars is a terrible idea
This is not meant to be used from the main gamemode, that's why it's a filterscript itself. (Besides i have no knoweldge whatsoever on making includes). I did plan on making this an include but I really have no idea how and I need to investigate on the matter (That's why there are useful callbacks, that was my main plan at the start), and that's why I've noted multiple times that this is not a plug and play script and it is meant to be modified to fit your needs.
Feel free to instruct me on includes creation, though, I believe you have to hook all the native callbacks and then it'll work?

Quote:
Originally Posted by [uL]Pottus
View Post
- Use of PVars is a huge no-no
We already discussed this, didn't we? I said I would add as many PVars as possible to annoy you. But on a serious note, this can also be fixed easily.

Quote:

- No need to delete playertextdraws when a player disconnects this happens automatically

Not really a script breaking flaw, is it?

Quote:

- No OnPlayerClickTextDraw() so the menu will stay up if you press escape (very annoying), how about when the player dies? Doesn't close either. How about if the player gets shot? That should close the inventory immediately so they can fight

As for the escape one: it is not possible using player text draws and I think OnPlayerClickTextDraw is not called with player textdraws, I helped a player solve this I believe, it might get called if you create an invisible selectable text draw and show it along the player text draws, I might have to test it. Anyways something I didn't mention is that if you press H while the inventory is open it'll close, however since OnPlayerKeyStateChange isn't called while in select mode you must first press escape.
As for the death one: OnPlayerClickPlayerTextDraw(playerid, Inv[playerid][14]); under OnPlayerDeath (I created this entirely with Rivershell from the previous versions as background!) -- as for the shot one, that's up to the scripters to chose, this is not intended for any script type. Plus, on dayz you get killed lots of times while browsing your inventory and fiddling around with it since you're really vulnerable (You should know this...), so it adds this feeling.



As I said this is a beta and I expect feedback to keep modifying the script. I will change the variables to enums, to begin with. And maybe work on the last issue. But again -- I'm not trying for you to use it, nor I intend to or is my job to do so. Use under own discretion.
Reply


Messages In This Thread
Advanced Inventory/Object Management Script (New Version!) [SQL;Dynamic] - by CuervO - 24.02.2014, 13:51
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DarkZeroX - 24.02.2014, 13:56
Respuesta: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 13:58
Re : Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by anou1 - 24.02.2014, 14:06
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DoKAtemar - 24.02.2014, 14:19
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DarkZeroX - 24.02.2014, 14:22
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 14:23
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by PT - 24.02.2014, 14:42
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by iBots - 24.02.2014, 15:00
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Pottus - 24.02.2014, 15:00
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by theomanking - 24.02.2014, 16:04
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 16:11
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Naruto_Emilio - 24.02.2014, 16:36
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 16:38
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Pottus - 24.02.2014, 17:08
Re : Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by samp_boy - 24.02.2014, 17:13
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 17:20
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Misiur - 24.02.2014, 19:51
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 20:16
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by iBots - 24.02.2014, 20:19
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 12.03.2015, 01:54
AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Madretsma - 12.03.2015, 02:13
Respuesta: AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 12.03.2015, 02:31
AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Madretsma - 12.03.2015, 04:07
Re: Respuesta: AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by StarPeens - 12.03.2015, 04:09
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Sanady - 12.03.2015, 06:11
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Patrik356b - 12.03.2015, 17:57
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 13.03.2015, 14:58
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Excel™ - 16.03.2015, 15:28
Respuesta: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 18.03.2015, 17:05

Forum Jump:


Users browsing this thread: 4 Guest(s)