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:
- Copy the Plugin File plugins.
- Open server.cfg and add the plugin's name on plugins line.
and/or
- Copy the whole include codes in Notepad, Wordpad, etc..
- Save it as "include's name.inc", and Save it in "PAWNO > include".
- Open your Gamemode Script using PAWNO Compiler.
- Add "#include <include's name>" at the Top of your Gamemode Script.
- Compile it, Save it, and Finish.
and/or
- Download the Include File, Copy it.
- Paste it in "PAWNO > include".
- Open your Gamemode Script using PAWNO Compiler.
- Add "#include <include's name>" at the Top of your Gamemode Script.
- Compile it, Save it, and Finish.