![]() |
Little Problem!
NPC Code: The idea is, if you have more than ONE eventtoken then it warps you! Its on NONE NPC Server, anyone know prob? flagitsets (Of Course) is: eventtoken=xx *xx=Number! ive tried a few thanks but none seem to work, I am none the wiser, anyone can help? -Spark911 |
Re: Little Problem!
NPC Code: first bold - no end part of srequals second bold - forgot the ending ) around strtofloat |
if statement should look like this:
if (playertouchsme&&strtofloat(#s(eventtoken))>=1) { stuff here; } else if (playertouchsme) stuff here; |
NPC Code: |
I wouldn't have either. Also a note to screen name, its else if not elseif, though I am not sure it matters...
Also you should try to only test something once in a script, unless you have statements where you test if its not true and playertouchsme and you test if it is true and playertouchs me, otherwise both or one probably not the one you want will be executed. For example: NPC Code: See there are many sides of one coin. |
Thankyou People!
|
Quote:
|
| All times are GMT +2. The time now is 05:29 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.