SA-MP Forums Archive
[HELP] pInfo problem - 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)
+--- Thread: [HELP] pInfo problem (/showthread.php?tid=305254)



[HELP] pInfo problem - c0GI - 21.12.2011

When I press F5 button, the warrning are come

Quote:

D:\Nikola i Marko\[BE] Balkan Evolution Role Play\gamemodes\gtarp.pwn(1037) : warning 201: redefinition of constant/macro (symbol "pInfo")

I dont know how to FIX that!!!!! Are you have an idea?


Re: [HELP] pInfo problem - c0GI - 21.12.2011

Please HELP ME!


Re: [HELP] pInfo problem - Tee - 21.12.2011

You have "enum pInfo" more than 1 times in the script. Change it to something else.


Re: [HELP] pInfo problem - c0GI - 21.12.2011

hahaha yea yeaa! Thanks )


Re: [HELP] pInfo problem - c0GI - 21.12.2011

Ouu OMG!!! I dont have "enum pInfo" more that 1 time in the script!!!! OMG o.O what is that! :S


Re: [HELP] pInfo problem - Tee - 21.12.2011

Search for "pInfo" in your script. If you don't have it more than one time, just change it to something else (You might have a FS that alreadu has it)


Re: [HELP] pInfo problem - c0GI - 21.12.2011

I find the second "pInfo" text : But I dont know how to change them

Quote:

new PlayerInfo[MAX_PLAYERS][pInfo];




Re: [HELP] pInfo problem - c0GI - 21.12.2011

Answer please I need a help


Re: [HELP] pInfo problem - Tee - 21.12.2011

Look for the enum governing that variable and change it to PInfo, also change the second dimension of that variable to PInfo.
You can make the name anything but I just gave you a name for it.


Re: [HELP] pInfo problem - c0GI - 21.12.2011

okej