I'm trying to get a person's position before and after they move. Is this possible and how would I do it? I was thinking it would be possible through the Move hook, but the CMoveData structure isn't exactly documented that well.
I would use SetupMove this is called before it process the players movement
[lua]GM:SetupMove( Player, Movedata )[/lua]
and FinishMove is called as soon as the movement is done
[lua]GM:FinishMove ( Player, Movedata )[/lua]
[QUOTE=Baig Flawless;40098148]I would use SetupMove this is called before it process the players movement
[lua]GM:SetupMove( Player, Movedata )[/lua]
and FinishMove is called as soon as the movement is done
[lua]GM:FinishMove ( Player, Movedata )[/lua][/QUOTE]
lol nice one I was trying to find a hook for console command and see when it did -forward or something
[QUOTE=Sethxi;40098172]lol nice one I was trying to find a hook for console command and see when it did -forward or something[/QUOTE]
[url]http://glua.me/search/[/url]
Is the way forward I can't deal with that crappy wiki search & that will normally give you all the information you need without even needing to go to the wiki.
Sorry, you need to Log In to post a reply to this thread.