Streamer Help
#1

~Removed
Reply
#2

On Problem #1 :-
warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")

This,
Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
Must have,
Код:
forward Streamer_OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ);
It Must be Like This,
Код:
forward Streamer_OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ);
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
On Problem #2 :-
warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")

This,
Код:
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)
Must have,
Код:
forward Streamer_OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ);
It Must be Like This,
Код:
forward Streamer_OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ);
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)
On Problem #3 :-
error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"

On OnPlayerSelectObject Callback;
Try This,
pawn Код:
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)
{
    if (type == SELECT_OBJECT_PLAYER_OBJECT)
    {
        Streamer_CallbackHook(STREAMER_OPSO, playerid, type, objectid, modelid, fX, fY, fZ);
    }
    if (Streamer_g_OPSO)
    {
        return CallLocalFunction("Streamer_OnPlayerSelectObject", "ddddfff", playerid, type, objectid, modelid, fX, fY, fZ);
    }
    return 1;
}
Try updating your streamer.inc,

First of all,

Streamer Plugin & Include:
[Plugin] Streamer Plugin
****** Project Download Page for Streamer Plugin
Pastebin for Streamer Include

Check your "PAWNO > includes" Directory, and Look for "streamer.inc",

and Check your "Plugins" Directory, and Look for "streamer.dll" or "streamer.so",

If you don't have "streamer.inc" and "streamer.dll" or "streamer.so",

(NOTE: Make sure you open the same PAWNO that contains all your stuff)

Download it here,

[Plugin] Streamer Plugin
****** Project Download Page for Streamer Plugin
Pastebin for Streamer Include

Installation:
  1. Copy the Plugin File plugins.
  2. Open server.cfg and add the plugin's name on plugins line.
and/or
  1. Copy the whole include codes in Notepad, Wordpad, etc..
  2. Save it as "include's name.inc", and Save it in "PAWNO > include".
  3. Open your Gamemode Script using PAWNO Compiler.
  4. Add "#include <include's name>" at the Top of your Gamemode Script.
  5. Compile it, Save it, and Finish.
and/or
  1. Download the Include File, Copy it.
  2. Paste it in "PAWNO > include".
  3. Open your Gamemode Script using PAWNO Compiler.
  4. Add "#include <include's name>" at the Top of your Gamemode Script.
  5. Compile it, Save it, and Finish.
Reply
#3

.....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)