streamer erors and other erors
#1

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!
Reply
#2

please help me
Reply
#3

please help me please
Reply
#4

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 :>
Reply
#5

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.
Reply
#6

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

Greets,
Mujib
Reply
#7

okey thanks guyґs
Reply
#8

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>

Reply
#9

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

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^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)