0 Members and 1 Guest are viewing this topic.
Please edit your post and remove that code. Please attach the script to your post or use http://pastebin.com (or similar services to host your code). As to stay on the topic this link may help you.
function formatfloat(input: single; digits: integer): string;var intext: string;beginintext := floattostr(input);result := getpiece(intext,'.',0) + '.' + copy(getpiece(intext,'.',1),1,digits);end;
No, I translated my script to Turkish.I want squiddy fix, I want know how can I correct it.
procedure UseSkill(ID: byte; SkillStrRaw: string);var output: string; skill, curlvl: integer; oldmana,oldsouls: single; color: longint;beginskill := skillnumbyname(skillstrraw);output := '';color := $ffcc4444;if skill >= 0 then begin curlvl := player[ID].skills[skill]; if curlvl > 0 then begin if getplayerstat(ID,'alive') then begin if player[ID].mana >= skills[skill][curlvl].mcost then begin if player[ID].souls >= skills[skill][curlvl].scost then begin if player[ID].cooldown[skill] = 0 t