is there a way to define a usr as a var like player1 2 3 4 ect.? like for instants instead of going thru all that i could do....
join()
player1="[usr]"
then just say
player1.loc=locate(x,y,z)
or somthing like that?
or is there a demo to show how to set players and do somthing similair? thnx.
ID:169147
![]() Jul 24 2005, 6:36 pm
|
|
![]() Jul 24 2005, 7:09 pm
|
|
var/list/player[0] Then to use it. mob/proc/MyProc() Of course, you can put any number associated with a player into those brackets. So you could do player[2] or player[3] or whatever. |
thnx, now how do i set it up from that if i only want so many players to be able to join?? for instance...
if(player[3]) return or how would i do this? (i only want it set up for 2 players) |