![]() |
Showing the PM window from a script
I've been trying to open a PM window from a script (similar to what Zodiac has), but i'm stumped - The only function I can find is showpm(object), but I don't know how to implement this.
Any ideas? |
I think its something like:
PHP Code:
|
I found it.
PHP Code:
|
Unless I am confused.. here are the ways to check information / read pms etc.
PHP Code:
|
Never even heard of that function...
|
Then I am glad I somewhat helped you guys =)
|
(@ "-Playerlist")..... can be changed into just "-Playerlist".function();
|
Quote:
(@ "-Playerlist").function() makes it entirely clear that you are working with the -Playerlist object. "-Playerlist".function() makes it look like you are performing a function on the string itself, which could be confusing to some people, especially if they have used other scripting languages where that syntax would mean you are always performing functions on the string. |
Quote:
Also, temp.i = findWeapon( "-Playerlist" ); temp.i.function(); |
findweapon and findnpc are worthless functions in an OO environment =/. I guess they could be used for self-documenting reasons but otherwise unneccessary.
|
| All times are GMT +2. The time now is 06:18 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.