Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: TanaX01 on July 25, 2008, 12:55:25 am

Title: Money Error
Post by: TanaX01 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  ;) :)
Title: Re: Money Error
Post by: Tamas 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.
Title: Re: Money Error
Post by: TanaX01 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  :-[
Title: Re: Money Error
Post by: Orpheus 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
Title: Re: Money Error
Post by: TanaX01 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  :)
Title: Re: Money Error
Post by: Force 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 ;)
Title: Re: Money Error
Post by: TanaX01 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  :)
Title: Re: Money Error
Post by: Nemesis2500 on July 26, 2008, 04:27:13 am
lol so it has no solution  :-\  :P