Author Topic: Money Error  (Read 4392 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Money Error
« on: July 25, 2008, 12:55:25 am »
Hey help my in !money

Code: [Select]
<TanaX01> !money 3
<MarciSpeems> ** [SRS]Sniper Money: 1087766591
is new user :S

is errror or bug ?

my commands money is

Code: [Select]
elseif (($1 == !money) || ($1 == !cash)) $iif(($vcmp.nameid($2) != $null),vcmp.getmon  $$vcmp.nameid($2),vcmp.echo Error: Invalid ID.)
Code: [Select]
   elseif (($2 == !cash) || ($2 == !money)) {
      var %p = $iif($3,$v1,%id)
      if ($vcmp.nameid(%p) != $null) vcmp.adminmsg %id Money Status: Cash:[ $ $+ $vcmp.hgetmoney(%id) ] Bank:[ $ $+ $vcmp.acct.cash($vcmp.hgetname(%id)) ]
      else vcmp.adminmsg %id Error: Invalid ID.
    }

Please Help My  ;) :)

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Money Error
« Reply #1 on: July 25, 2008, 01:35:15 am »
Yeah it happent today.
My partner joined the server, than he registered and get tons of $$$$

I think its a very rare problem, but sometimes its happen. And if i know right it can also happen when somebody give cash to someone.
Its the bug of the VC-MP not the script i think.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Money Error
« Reply #2 on: July 25, 2008, 08:35:44 pm »
Yeah it happent today.
My partner joined the server, than he registered and get tons of $$$$

I think its a very rare problem, but sometimes its happen. And if i know right it can also happen when somebody give cash to someone.
Its the bug of the VC-MP not the script i think.

yes is error please help me  :-[

Offline Orpheus

  • Street Thug
  • *
  • Posts: 20
    • View Profile
Re: Money Error
« Reply #3 on: July 26, 2008, 12:56:25 am »
Ok Kinda a scripting noob when it comes to VCMP but could you not, get a players cash then set it to 0 then set it to the value they HAD?

To stop the "error" or what not, cos then you'd be getting their cash BEFORE the reg then saving that number, the resetting their cash to 0 then setting it back to what they had before spawn.

or make it so they have to reg to spawn ;) and do the same thing?
If its not poss, my bad not really looked into VCMP yet, more into samp scripting, so if it is possible would work no?


Regards Orph

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Money Error
« Reply #4 on: July 26, 2008, 02:01:05 am »
Ok Kinda a scripting noob when it comes to VCMP but could you not, get a players cash then set it to 0 then set it to the value they HAD?

To stop the "error" or what not, cos then you'd be getting their cash BEFORE the reg then saving that number, the resetting their cash to 0 then setting it back to what they had before spawn.

or make it so they have to reg to spawn ;) and do the same thing?
If its not poss, my bad not really looked into VCMP yet, more into samp scripting, so if it is possible would work no?


Regards Orph


hey !! Shhhhhhhhhhhhhhhhhiiiit !!!!!

please help in error me script !money  :)

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Money Error
« Reply #5 on: July 26, 2008, 02:03:12 am »
Basically Tanax its a VC:MP Error and those were some possible way's about how it could be caused I think ;)

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Money Error
« Reply #6 on: July 26, 2008, 02:06:41 am »
Basically Tanax its a VC:MP Error and those were some possible way's about how it could be caused I think ;)

oh ok thx  :)

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Money Error
« Reply #7 on: July 26, 2008, 04:27:13 am »
lol so it has no solution  :-\  :P