Flag problems?
Ok, here's my problem, there is osbviously something wrong with how i set up the flag in the following script, but i cant figure out what (I know it's the flag because i ran several tests to check for the problem). It only does this once, even if the player has a lot of the string, acting like i have it set as if, instead of while. changing it to a for loop didnt help either.
NPC Code: I have tried figuring it out myself, and i only put in part of the script, so i dont expect this thread to be closed/deleted before i solve this prob. |
Quote:
is there anything using tokenize so #t(1) works? |
Quote:
|
Quote:
|
1. That's not a flag, it's a string.
2. clientr. strings can only be set SERVERSIDE. 3. I do not think a 'while' loop is the best thing to do here. But don't kill me if I'm wrong, but from what I see, other things might be better. |
Quote:
|
Is a player active in the serverside script?
|
Quote:
|
Yeah i tried a timeout loop but it doesnt even set the timeout if it;s serverside for some reason which is crap.
|
Quote:
|
Quote:
Quote:
try taking out all of that unnecessary code first then find the problem. PHP Code:
PHP Code:
|
I just tried using a timeout, it works fine offline meaning it's an online problem.. here's the new code:
PHP Code:
|
Quote:
I use timeouts. Timeouts own all. |
Quote:
|
Quote:
|
All times are GMT +2. The time now is 04:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.