Jump to content
  • 0

Error compile


Sice15

Question

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(169) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYER_ATTACHED_OBJECTS")

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(5512) : warning 219: local variable "pName" shadows a variable at a preceding level

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(5695) : warning 219: local variable "pName" shadows a variable at a preceding level

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(9534) : warning 235: public function lacks forward declaration (symbol "OnPlayerPause")

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(9543) : warning 235: public function lacks forward declaration (symbol "OnPlayerUnPause")

C:\Documents and Settings\Sice\Desktop\[NBTDM]0.3cR5\NBTDM\gamemodes\RGS.pwn(10139) : warning 219: local variable "Y" shadows a variable at a preceding level

<a href='http://www.yhcbux.com/?ref=sice'><img src='http://www.yhcbux.com/images/banner1.gif'></a>

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

169:#define MAX_PLAYER_ATTACHED_OBJECTS 5

5512:new pName[MAX_PLAYER_NAME], iName[ MAX_PLAYER_NAME ];

5695:new pName[MAX_PLAYERS];

Astea mar interesa mai mult sa le fac !

<a href='http://www.yhcbux.com/?ref=sice'><img src='http://www.yhcbux.com/images/banner1.gif'></a>

Link to comment
Share on other sites

warning 219: local variable "pName" shadows a variable at a preceding leve
 warning 219: local variable "pName" shadows a variable at a preceding level

E definit de 2 sau de mai multe ori,redenumeste pName de la liniile alea.

Pentru linia 169 nu stiu sigur..citeste http://wiki.sa-mp.com/wiki/SetPlayerAttachedObject

gXvsYS
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.