CreateDynamicObject disappear on linux server.
#1

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)

Код:
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;
}
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.
Reply


Messages In This Thread
CreateDynamicObject disappear on linux server. - by AppleJ - 16.02.2019, 13:53
Re: CreateDynamicObject disappear on linux server. - by TokicMajstor - 16.02.2019, 21:53
Re: CreateDynamicObject disappear on linux server. - by AppleJ - 17.02.2019, 03:59
Re: CreateDynamicObject disappear on linux server. - by d3Pedro - 17.02.2019, 04:07
Re: CreateDynamicObject disappear on linux server. - by AppleJ - 17.02.2019, 04:31
Re: CreateDynamicObject disappear on linux server. - by d3Pedro - 17.02.2019, 05:27
Re: CreateDynamicObject disappear on linux server. - by AppleJ - 17.02.2019, 06:40

Forum Jump:


Users browsing this thread: 2 Guest(s)