View Single Post
XxMoNsTeRXM

JCF Member

Joined: Sep 2013

Posts: 191

XxMoNsTeRXM is doing well so far

Dec 9, 2013, 05:39 AM
XxMoNsTeRXM is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
I'm not really sure what you're asking, since you left out the subject of "is using." The global arrays jjPlayers and jjLocalPlayers, plus the jjPLAYER property playerID, would presumably be a large part of what you're looking for. Remember to add 1 to any playerID value, since JJ2 (as opposed to AngelScript) thinks the player list should be 1-indexed.
I tried how you said and it said Invalid Player Number.
Here's what i used:

jjChat ("/ptrigger " + jjLocalPlayers[0].playerID + " 1 1 on");