statlock problem - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: statlock problem (/Thread-statlock-problem) |
statlock problem - ograso - 03-23-2015 12:04 AM Hey all, I receive an errors on console as follow. Statchange using in player event. Code: ERROR:(e_player.scp,131)Can't resolve <STATLOCK[3]> Any idea? Code: ON=@StatChange RE: statlock problem - Shamino - 03-23-2015 12:48 AM Try... <STATLOCK.<ARGN1>> or <STATLOCK(<ARGN1>)> or <STATLOCK.(<ARGN1>)> STATLOCK.stat_id RW Gets or sets the lock state of the player's STR (0), DEX (2) or INT (1). [0 = up, 1 = down, 2 = locked] RE: statlock problem - ograso - 03-23-2015 02:47 AM Nope, unfortunately. I tried all of them but none of above isnt correct RE: statlock problem - Shamino - 03-23-2015 03:16 AM Ok, i found, try this. <STATLOCK[STR]> <STATLOCK[DEX]> <STATLOCK[INT]> RE: statlock problem - ograso - 03-23-2015 04:08 AM Yeah its done Shamino. Thank you RE: statlock problem - XuN - 03-23-2015 06:39 PM ERROR:(e_player.scp,131)Can't resolve <STATLOCK[3]> + STATLOCK.stat_id RW Gets or sets the lock state of the player's STR (0), DEX (2) or INT (1). [0 = up, 1 = down, 2 = locked] = if (<argn>> 2)//no value higher than 2 can be passed to <statlock[]> return endif |