![]() |
deletestring?!
so i was having trouble with a deletestring npc
what i wanted it to do is when used, would trim back the string by one so something like lolhi would become lolh when used this is what i got NPC Code:deletestring client.reg#v(this.id),strlen(#s(client.reg#v(this. id))-1); it gives me no error in the editor and i asked some other people other possibilies to do this, but nothing has worked so far :asleep: |
#e(startindex,length,string)
|
deletestring is for string arrays, normal strings are not string arrays. Use #e, as Giltwist said.
|
Quote:
|
| All times are GMT +2. The time now is 06:09 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.