Coder Social home page Coder Social logo

Comments (8)

samp-incognito avatar samp-incognito commented on August 28, 2024

Works fine for me.

from samp-streamer-plugin.

KubiPL avatar KubiPL commented on August 28, 2024

So why same code isn't working on diffrent platform?

This for e.g not works (FS):
public OnPlayerEditObject( playerid, playerobject, objectid, response,Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ )
{
SendClientMessage(playerid, -1, "Normal object edit");
return 1;
}

public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
SendClientMessage(playerid, -1, "Dynamic object edit");
return 1;
}

from samp-streamer-plugin.

samp-incognito avatar samp-incognito commented on August 28, 2024

I'm guessing it has less to do with the platform and more to do with something in your script causing a conflict. Try testing that code in a bare script with nothing else running and see what happens.

from samp-streamer-plugin.

KubiPL avatar KubiPL commented on August 28, 2024

I have removed filterscript which had streamer included, now only gamemode have it and it is working. Please check it, why when we have FS's with streamer code in it, other callbacks which are used in streamer plugin aren't procced to other script.

from samp-streamer-plugin.

samp-incognito avatar samp-incognito commented on August 28, 2024

That's just the way OnPlayerEditObject works, if I recall correctly. It's only executed in the calling script. I have no idea why.

from samp-streamer-plugin.

samp-incognito avatar samp-incognito commented on August 28, 2024

Can't reproduce.

from samp-streamer-plugin.

alonsohii avatar alonsohii commented on August 28, 2024

The same thing happened to me, I can not call OnPlayerEditObject

from samp-streamer-plugin.

karimcambridge avatar karimcambridge commented on August 28, 2024

I'm sorry but I think this should be closed. The callback is fine AFAIK.

from samp-streamer-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.