
01-17-2002, 06:47 AM
|
|
Banned
|
 |
Join Date: Oct 2001
Posts: 1,177
|
|
|
when
"playerx" and such is in an event, the default index is the player that triggered the event.
if it is in a timeout event, I think playerx would be the 1st player in the level, but I am not sure if this is the case.
for example
if (playertouchsme) playermp=100; //Player that touched
if (washit) playermp=100; //Player that hit
if (playerchats) {
putnpc2 blah blah blah {
if (created) playermp=100 //Player that caused the creation by chatting
}
} |
|
|
|