![]() |
still not workin
|
Jadis:
if (startswith(partstr,str)) ; NPC Code: That should work if I am not mistaken. Maybe the replaceani command doesn't support strings? I am not sure. |
Quote:
this.old = (strfloat(#t(1))); i think.. |
ok so like this then?
if (playerchats) { if (startswith(changegani,#c)) { if (tokenscount==3) { this.oldgani = strtofloat(#t(1)); this.newgani = strtofloat(#t(3)); timeout = .5; } if (timeout) { replaceani this.oldgani,this.newgani; } } } |
Quote:
|
Jadis:
Err.. you would have to do setstring this.blah,#t(1); strtofloat returns the numeric value of a string so that wouldn't work anyway. |
All times are GMT +2. The time now is 11:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.