Jump to content
  • 0

Help: 3 Warnings


leon

Question

Cum pot rezolva aceste Warnings ?  ???

1. pawno\include\JunkBuster.inc(3155) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
2. (96) : warning 201: redefinition of constant/macro (symbol "dcmd(%1,%2,%3)")
3. (21271) : warning 219: local variable "i" shadows a variable at a preceding level

i0418xcttya707ofg.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

1.Mai ai odata OnPlayerCommandText, cel din GM, scoate-l din include si baga-l in GM, ce e sub OnPlayerCommandText.

2.Ai mai definit odata dcmd, sterge pe una dintre ele.

3.Banuiesc ca este

for(new i;i<MAX_PLAYERS;i++)
daca da, inlocuiesti cu:
i = 0;
for(i;i<MAX_PLAYERS;i++)

Dar mai bine posteaza liniile 21270 - 21280 ca sa nu fie probleme pe viitor.

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.