![]() |
Help with DBNPCs...
Hey im working on a special something, and its using DB NPCs. My problem occurs on adding/removing something to a DBNPCs flags.
These dont appear to work: PHP Code:
PHP Code:
|
add() and remove() are for arrays only. You'd have to do it like this:
PHP Code:
PHP Code:
|
explain varname? xP Im new to scripting kinda
|
Quote:
Also, you don't need to use findNPC. PHP Code:
|
Quote:
soo PHP Code:
|
So
Astram.("Jailed_"@player.account@"time_"@params[1]); would this work? |
Quote:
Think of it like a variable in math. PHP Code:
PHP Code:
|
heh got it to work :O!
PHP Code:
|
Hey guys wait, I still dont know how to add to a DBNPC flag...
I just got to make a flag or overwrite it. Not adding to it... For Example I mean this: Jailed=Graal749201,Graal759329 Not just Jailed=Graal749201 then when you try Graal759329 it does Jailed=Graal759329 |
|
| All times are GMT +2. The time now is 07:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.