16.02.2019, 13:53
(
Последний раз редактировалось AppleJ; 16.02.2019 в 16:11.
)
Hello,
I got some problem when using CreateDynamicObject function on my own hosted server (linux CentOS 7).
Basically I tried to create a dynamic object (see the code)
This codes works (the object was created / appeared and shown) in my PC server / localhost (Windows) but when I use this codes on my server (linux) the object appear only for a second and suddenly disappear.
At first I thought it was caused by streamer plugin so I updated it to latest version but the problem still exist.
I already put the required plugin (.so extension) in the server also.
Any answer will be appreciated, thanks.
Additional Note:
- SA-MP server version used: 0.3DL (linux)
- Streamer plugin used: v2.9.4 (latest)
- I also use YSF with latest version: R20-RC4.
I got some problem when using CreateDynamicObject function on my own hosted server (linux CentOS 7).
Basically I tried to create a dynamic object (see the code)
Код:
CMD:testobject(playerid, params[]) { new objectid; new Float:playerPosX, Float:playerPosY, Float:playerPosZ; new int, vw; GetPlayerPos(playerid, playerPosX, playerPosY, playerPosZ); int = GetPlayerInterior(playerid); vw = GetPlayerVirtualWorld(playerid); objectid = CreateDynamicObject(2218, playerPosX, playerPosY, playerPosZ, 0.0, 0.0, 0.0, vw, int, -1, 300.0,300.0); return 1; }
At first I thought it was caused by streamer plugin so I updated it to latest version but the problem still exist.
I already put the required plugin (.so extension) in the server also.
Any answer will be appreciated, thanks.
Additional Note:
- SA-MP server version used: 0.3DL (linux)
- Streamer plugin used: v2.9.4 (latest)
- I also use YSF with latest version: R20-RC4.