How do player:found work?

tonberry

Emperor
Joined
Jun 1, 2002
Messages
1,148
Location
Québec
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.
 
try pPlayer:Found(69, 34)
 
Back
Top Bottom