Jump to content

Whats wrong with this?


Recommended Posts

oooook, if you do not know what you're talking about don't reply Dead-Inside ;)

and Keslertje2005, you can't save hashes into INIs, you have to use writeini for that (but you can load a hash from an ini with 'hload -i your.ini')

You have to decide what you're gonna use, hashes or inis.. If hashes then:

if (%nick != $null) && (%nick != Player) !hadd RACES $mta.nick($1,$2) $+ .stats $calc($hget(RACES,$mta.nick($1,$2) $+ .stats) + 1)

or just

if (%nick != $null) && (%nick != Player) !hadd RACES $mta.nick($1,$2) $calc($hget(RACES,$mta.nick($1,$2)) + 1)

But dont forget to create the RACES hash when the script starts.

P.S: /help /hadd

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...