Thread: for
View Single Post
  #2  
Old 02-20-2005, 09:17 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
I'll give you some examples, hopefully this helps:

NPC Code:

with (findnpc("NPC Name"))
with (allplayers[i])



NPC Code:

for (item: clientr.item)
for (i=0; i<allplayerscount; i++)



NPC Code:

setlevel2(level,x,y);
player.setlevel2(level,x,y);




I believe these are all the player-level manipulations you can do:

player.level - object, read only
player.x - floating point value
player.y - floating point value
player.z - floating point value

Last edited by Gambet; 02-20-2005 at 09:41 PM..