native get_user_origin(index, origin, mode = 0);
Array to store origin in
What type of origin to retrieve: 0 - current position 1 - position of eyes (and weapon) 2 - aim end position from client position 3 - aim end position from eyes (hit point for weapon) 4 - position of last bullet hit (only for Counter-Strike)
Retrieves an origin related to the client.
1 on success, 0 if client is not connected
If the client index is not within the range of 1 to MaxClients, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.