Good day ! I'm getting this error. kindly help we how to solve this. thanks!
[Warning]: script error in file 'npc/custom/FRO/NPC/costumerental.txt' line 125 column 39
This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.
122: if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);
123: set .@l, getstrlen(""+.@num);
124: for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {
* 125: set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
126: if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;
127: }
128: return .@num$;
Good day ! I'm getting this error. kindly help we how to solve this. thanks!
[Warning]: script error in file 'npc/custom/FRO/NPC/costumerental.txt' line 125 column 39 This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative. 122: if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); 123: set .@l, getstrlen(""+.@num); 124: for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { * 125: set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 126: if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; 127: } 128: return .@num$;
Share this post
Link to post
Share on other sites