View Full Version : How do player:found work?


tonberry
Apr 30, 2011, 06:57 PM
Can someone help me with the game object void player:found(int iX, int iY); please?


I try this: player:found(69, 34);

but it gave me 'attempt to index global 'player' (a nil value)'

so I try
local pPlayer = Players[Game.GetActivePlayer()]
pPlayer:found(69, 34);

and it gave me 'attempt to index global 'found' (a nil value)'

If someone can give me an example on how to use it, that would be nice.

Gedemon
May 01, 2011, 04:30 AM
try pPlayer:Found(69, 34)