---
title: "SetMyPos | open.mp"
description: "I-set ang posisyon ng NPC"
canonical: https://omp.itsneufox.com/fil/docs/scripting/functions/SetMyPos
language: fil
---

# SetMyPos

## Description

I-set ang posisyon ng NPC

| Name | Description |
| --- | --- |
| Float:x | Ang X coordinate kung saan ilalagay ang NPC |
| Float:y | Ang Y coordinate kung saan ilalagay ang NPC |
| Float:z | Ang Z coordinate kung saan ilalagay ang NPC |

## Returns

Ang function na ito ay hindi nagbabalik ng anumang value.

## Example

```c
SetMyPos(0.0, 0.0, 3.0);
```

## Related Functions

-   [GetMyPos](https://omp.itsneufox.com/fil/docs/scripting/functions/GetMyPos): Kunin ang kasalukuyang posisyon ng NPC.
