SA-MP Forums Archive
Help with /report - 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: Help with /report (/showthread.php?tid=74193)



Help with /report - Agent Smith - 20.04.2009

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.


Re: Help with /report - Daren_Jacobson - 20.04.2009

new JustReported;

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


Re: Help with /report - MenaceX^ - 20.04.2009

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



Re: Help with /report - Agent Smith - 20.04.2009

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


Re: Help with /report - Agent Smith - 20.04.2009

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


Re: Help with /report - asdd - 20.04.2009

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...



Re: Help with /report - Agent Smith - 20.04.2009

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?


Re: Help with /report - Agent Smith - 08.05.2009

*Bump* I need help with this, Anyone?


Re: Help with /report - MenaceX^ - 08.05.2009

What is the problem?


Re: Help with /report - Agent Smith - 08.05.2009

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.