SA-MP Forums Archive
GM Error - 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: GM Error (/showthread.php?tid=206397)



GM Error - TeamPublic - 03.01.2011

I have Raven's Roleplay Full Script - v3 (RC5.1) that is the latest version and this happend:

My server says Mode Unknown and i updated streamer then this error come up:

C:\Users\netfabbe\Desktop\Raven's Roleplay v2.5b\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Please help me.


Re: GM Error - Kwarde - 03.01.2011

This is a warning. But in the 'streamer.inc', on line 449, there is a function that isn't used how it's supposed to be used. Check out that.
Open 'streamer.inc' with notepad, notepad++ or pawno and press CTRL+G, then '449', and then hit ENTER
Give me that line


Re: GM Error - TeamPublic - 03.01.2011

SetPlayerMapIcon(0, 0, 0.0, 0.0, 0.0, 0, 0, 0);


Re: GM Error - TeamPublic - 03.01.2011

That is line 449 in streamer.inc


Re: GM Error - Adam_Lane - 03.01.2011

I have the same problem,I need some support please.
nvm


Re: GM Error - Kwarde - 04.01.2011

the 'playerid' is missing
Example:

SetPlayerMapIcon(playerid, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0);


Re: GM Error - TeamPublic - 04.01.2011

Should i put that in the include?


Re: GM Error - Kwarde - 04.01.2011

Replace that with the warning line


Re: GM Error - Babul - 04.01.2011

the SetPlayerMapIcon has changed. it takes a style parameter now, so you will need to:
-make sure you got the streamer version 2.5.2, which takes the new parameter into account (i guess you did that already), and most prolly...
-add the style parameter to each line in the gamemode.


Re: GM Error - Nick_Oostrum - 04.01.2011

Raven's roleplay sucks... 8000 people worked on that..