SA-MP Forums Archive
streamer erors and other erors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: streamer erors and other erors (/showthread.php?tid=160802)



Please help me! - admine - 17.07.2010

i have a streamer for my objects!
the name of the streamer is: Midostream

this is my script:
http://pastebin.com/PVhsTbsh

and this is the eror
Quote:

C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(6) : error 010: invalid function or declaration
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(95 : error 017: undefined symbol "MidoStreamDisconnect"
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(1200) : error 017: undefined symbol "pInfo"
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(1200) : warning 215: expression has no effect
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(1200) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(1200) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(1200) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.

please help me!


Re: streamer erors and other erors - admine - 17.07.2010

please help me


Re: streamer erors and other erors - admine - 17.07.2010

please help me please


Re: streamer erors and other erors - ViruZZzZ_ChiLLL - 17.07.2010

Dude just to say this now, please read the rules :

https://sampforum.blast.hk/showthread.php?tid=45235

Quote:

b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 12 hours old, and it needs to have useful information about your problem.

Can't help you with this though, I don't know MidoStreamer :>


Re: streamer erors and other erors - Agent Smith - 17.07.2010

You didn't include the Midostream include properly

pawn Code:
#include <midostream>
About the pInfo, you haven't added something like this into your script:
pawn Code:
enum pInfo{
    job,
};
new playerinfo[MAX_PLAYERS][pInfo];
That should work.


Re: streamer erors and other erors - Mujib - 17.07.2010

Change line 6 to
pawn Code:
#include <MidoStream>
If there still occurs an error feel free to post them here (once).

Greets,
Mujib


Re: streamer erors and other erors - admine - 17.07.2010

okey thanks guyґs


Re: streamer erors and other erors - admine - 17.07.2010

Quote:
Originally Posted by Mujib
View Post
Change line 6 to
pawn Code:
#include <MidoStream>
If there still occurs an error feel free to post them here (once).

Greets,
Mujib
this is now the eror:
Quote:

C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(6) : error 031: unknown directive
C:\DOCUME~1\Londen\BUREAU~1\SA-MPS~1\ROLEPL~2.PWN(830) : error 017: undefined symbol "MidoStreamDisconnect"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

and this is change:
Quote:

public OnPlayerDisconnect(playerid, reason)
{
MidoStreamDisconnect(playerid);
return 1;
}

and
Quote:

# Include <MidoStream>




Re: streamer erors and other erors - Agent Smith - 17.07.2010

Have you placed the midostream.inc into the pawno > includes folder?


Re: streamer erors and other erors - Geso - 18.07.2010

You did #Include with a capital I, you should do it with a normal i:

Code:
#include <MidoStream>
edit: nvm, didnt look at page 2 and 3... ^faceslap^