2 Errors that i doesn`t know solve them
#1

Somebody Can Tell me How solve those errors ?

C:\Users\Nafets\Desktop\pawno\include\JunkBuster.i nc(3237) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\Nafets\Desktop\E\gamemodes\ONSP.pwn(18542 ) : warning 219: local variable "mod" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 12552 bytes
Code size: 2384816 bytes
Data size: 10836520 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4362 cells (17448 bytes)
Total requirements:13250272 bytes

2 Warnings.
Reply
#2

Find OnPlayerEnterRaceCheckpoint in your script, and remove it. If it clashes with your script and is really needed for it, try adding it to the JunkBuster.inc file. Example: I have new string[256]; above OnGameModeInit, but I put another new string[18]; in another function like OnPlayerSpawn. That is why this error is happening. Find your "mod" line and delete one of them, or make it global.
Reply
#3

there no OnPlayerEnterRaceCheckpoint on the GM ..... wtf ?
Reply
#4

Check your Junkbuster.inc file and remove OnPlayerEnterRaceCheckpoint. Make sure you do this without damaging the include.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)