
07-07-2013, 11:38 PM
|
|
the fake one
|
 |
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
|
|
|
Pretty certain that wiki article is incorrect. I don't think the player object is passed as a parameter, either (player will be in scope; for onPlayerLogin it won't be in scope and will be passed).
In weapons and NPCs (including Control-NPC), you can use onPlayerLogin(pl). If I'm not mistaken, you can only use onActionPlayerOnline() in Control-NPC.
edit: yes, just tested, everything above is correct, the wiki article is wrong |
|
|
|