![]() |
|
A little code help - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9) +------ Thread: A little code help (/showthread.php?tid=2761) |
A little code help - timster0 - 19-04-2009 I'm trying to make a good rebirth code, i have everything but I can't get it to divide the players STR, DEF, HP, MP, SPEED ect. by 1/5. Could someone help me? Re: A little code help - Rian - 19-04-2009 SetPlayerStr(Index, (GetPlayerStr(Index) * 0.2) Re: A little code help - Anthony - 19-04-2009 Multiply it by 0.2. -edit- Oi.. Rian wins. Re: A little code help - timster0 - 21-04-2009 lol, thanks. |