Why do i get this warning?
#1

Код:
: warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
when i add
Код:
#include <streamer>
on my GM?
this is the streamer-
Reply
#2

Somewhere in the streamer it has OnGameModeInit.
Reply
#3

Did you add #include <a_samp> before adding that line?
Reply
#4

Yea of course, will it cause problems if i ignore this warning?
if not how can i fix this without damaging the include?
Reply
#5

Well most includes would have something like Streamer_Init that would be a function that gets called under OnGameModeInit. It basically just triggers the streamer to initialize without having the same function name as the one already defined.
Reply
#6

This sux, i read on the thread, that if i add foreach + zcmd latest versions then it will be fixed, however, the link of foreach is broken so i dont know what to do
Reply
#7

Yeah it seems you just need to update those.
Reply
#8

The link for foreach is broken, can you please upload it for me dude?
Reply
#9

i have a copy of foreach but i dont know if im allowed to put a link up if someone can confirm if im allowed ill post a link.
Reply
#10

Quote:
Originally Posted by iggy1
i have a copy of foreach but i dont know if im allowed to put a link up if someone can confirm if im allowed ill post a link.
just PM him the link if your worried about posting it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)