Help with /report
#1

Hi,

Im trying to add in this /report command into a GM but it is coming up with some errors. I wounder if you can help me?

Quote:

C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 017: undefined symbol "JustReported"
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : warning 215: expression has no effect
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : fatal error 107: too many error messages on one line

Many thanks,
Sam.
Reply
#2

new JustReported;

somewhere in the script that should fix it (NOT ANYWHERE)
Reply
#3

I think it's
pawn Код:
new JustReported[MAX_PLAYERS];
Reply
#4

Thanks for the reply but it still doesnt work.

Do you want me to post the Code for the /report?
EDIT:
http://www.pawno.pastebin.com/m4bfa9e1f

This is what im trying to add in
Reply
#5

Updated:

http://www.pawno.pastebin.com/m30c8eee9

I realised that there is more to the command but it still wont compile :S

This is the whole command
Reply
#6

Quote:
Originally Posted by samdudes01
Updated:

http://www.pawno.pastebin.com/m30c8eee9

I realised that there is more to the command but it still wont compile :S

This is the whole command
i guess is missing some functions like:
Код:
ABroadCast(COLOR_YELLOW, string, 1);
and the function called by:
Код:
 SetTimerEx("ReportReset", 120000, false, "i", playerid);
sory my bad english, i am brazilian...
Reply
#7

Quote:
Originally Posted by asdd
Quote:
Originally Posted by samdudes01
Updated:

http://www.pawno.pastebin.com/m30c8eee9

I realised that there is more to the command but it still wont compile :S

This is the whole command
i guess is missing some functions like:
Код:
ABroadCast(COLOR_YELLOW, string, 1);
and the function called by:
Код:
 SetTimerEx("ReportReset", 120000, false, "i", playerid);
sory my bad english, i am brazilian...
Dont worry about the bad english

Im still having trouble tho, Those fuctions that you listed above are in the code? Should they not be there or?
Reply
#8

*Bump* I need help with this, Anyone?
Reply
#9

What is the problem?
Reply
#10

I want to add in this command from another GM into another GM but i get compile errors:

I want to add in this commands:

http://www.pawno.pastebin.com/m30c8eee9

But i get these errors:
Quote:

C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 017: undefined symbol "JustReported"
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : warning 215: expression has no effect
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Family\My Documents\Euro-Elite\gamemodes\crp.pwn(4193) : fatal error 107: too many error messages on one line

If you can help, that will be great,
Sam.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)