Author Topic: Custom Menu System v1.0  (Read 5883 times)

0 Members and 1 Guest are viewing this topic.

Offline NE.Restricted

  • Wiseguy
  • **
  • Posts: 97
    • View Profile
Re: Dialog System v1.0
« Reply #15 on: September 19, 2014, 09:56:34 am »
Help!!!
Quote from: VCMPServer.exe
AN ERROR HAS OCCURED [arith op + on between null and integer]

CALLSTACK
*FUNCTION [KeyBindDialog()]
*FUNCTION [onKeyDown()]

LOCALS
...(nothing is null here...)
I am NE.CrystalBlue!!!
Quote
i cant able to understand

Offline tђยภ๔єгรt๏г๓

  • Street Thug
  • *
  • Posts: 17
    • View Profile
Re: Dialog System v1.0
« Reply #16 on: September 19, 2014, 11:54:04 am »
:O nice job seby :)

Offline Franklin

  • Wiseguy
  • **
  • Posts: 76
  • WiSeGuY
    • View Profile
Re: Dialog System v1.0
« Reply #17 on: September 19, 2014, 06:04:22 pm »
we need a board for squirrel scripts releases ;v

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Dialog System v1.0
« Reply #18 on: September 22, 2014, 04:42:37 pm »
Help!!!
Quote from: VCMPServer.exe
AN ERROR HAS OCCURED [arith op + on between null and integer]

CALLSTACK
*FUNCTION [KeyBindDialog()]
*FUNCTION [onKeyDown()]

LOCALS
...(nothing is null here...)

Can you tell me what have you done ?

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NE.Restricted

  • Wiseguy
  • **
  • Posts: 97
    • View Profile
Re: Dialog System v1.0
« Reply #19 on: September 22, 2014, 05:01:05 pm »
Help!!!
Quote from: VCMPServer.exe
AN ERROR HAS OCCURED [arith op + on between null and integer]

CALLSTACK
*FUNCTION [KeyBindDialog()]
*FUNCTION [onKeyDown()]

LOCALS
...(nothing is null here...)

Can you tell me what have you done ?
The exception happened on a line of your code. But dont worry ill make my own (better) dialog system that supports images.
I am NE.CrystalBlue!!!
Quote
i cant able to understand

Offline Honey.

  • Made Man
  • ***
  • Posts: 111
    • View Profile
Re: Dialog System v1.0
« Reply #20 on: September 22, 2014, 05:08:28 pm »
Help!!!
Quote from: VCMPServer.exe
AN ERROR HAS OCCURED [arith op + on between null and integer]

CALLSTACK
*FUNCTION [KeyBindDialog()]
*FUNCTION [onKeyDown()]

LOCALS
...(nothing is null here...)

Can you tell me what have you done ?
The exception happened on a line of your code. But dont worry ill make my own (better) dialog system that supports images.

Hello NE.Arrogant,

I didn't have any errors with this script so blame yourself.

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Dialog System v1.0
« Reply #21 on: September 22, 2014, 05:15:39 pm »
The exception happened on a line of your code. But dont worry ill make my own (better) dialog system that supports images.

I just tested the whole script again, and I get no error.
If you implemented my system in your script, then I suggest you to check it again, because you may miss something.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Dialog System v1.0
« Reply #22 on: September 22, 2014, 05:30:33 pm »
Quote from: NE.Restricted
ill make my own (better) dialog system that supports images.

Hey dude don't call your work better than anyone's until you finish it. Anyways hope to see something perfect


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Dialog System v1.0
« Reply #23 on: September 22, 2014, 11:00:26 pm »
Help!!!
Quote from: VCMPServer.exe
AN ERROR HAS OCCURED [arith op + on between null and integer]

CALLSTACK
*FUNCTION [KeyBindDialog()]
*FUNCTION [onKeyDown()]

LOCALS
...(nothing is null here...)

Add at the top of KeyBindDialog:

Code: [Select]
function KeyBindDialog(player, bind)
{
if (dialogoptionchoosen[player.ID] == null || subdialogoptionchoosen[player.ID] == null)
return;
Do not PM me for support.




Offline NE.Restricted

  • Wiseguy
  • **
  • Posts: 97
    • View Profile
Re: Dialog System v1.0
« Reply #24 on: September 23, 2014, 08:51:50 am »
Quote from: NE.Restricted
ill make my own (better) dialog system that supports images.

Hey dude don't call your work better than anyone's until you finish it. Anyways hope to see something perfect
I mean that I will include more features, like if the choice Football stadium is selected, I can specify an image to be shown on the top-center-right.
I am NE.CrystalBlue!!!
Quote
i cant able to understand

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Custom Menu System v1.0
« Reply #25 on: September 23, 2014, 04:00:17 pm »
Update

I have corrected the script. Like S.L.C. said, it is a Menu, and not a Dialog !
Every function and event is now using "Menu" instead of "Dialog".
If you used the system, I suggest you to update it. :)

Thanks !

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.