![]() |
Quote:
Fine, make a level.. a NPC: if (timeout||playerenters) { this.msg=123456; unset this.msg; timeout=0.05; message #v(this.msg); } Try that. |
Quote:
|
setstring this.word,Blah;
unset this.word; message #s(this.word); Will still message Blah. |
Quote:
if you do setstring clientr.test,hi; and you open the attributes, the string is shown in the flags section therefore it can be unset. If you still dont believe me, try this, its a weapon called Test: NPC Code: just say "set" "say" you'll see the npc say hi then say "unset" "say" the npc will then say nothing b/c this.test is no longer there |
Quote:
NPC Code: Use unset flag name in that case, not with variables or strings :P |
Quote:
|
geez lame people.
find another thread. this one has already been answered. and to delete a string use setring NPC Code: |
All times are GMT +2. The time now is 06:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.