How to fix this error
#1

when i compile the gamemode it shows like this error
Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(979) : error 021: symbol already defined: "GetPlayerHost"
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(983) : warning 209: function "GetPlayerHost" should return a value
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(18041) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
if you know how to fix it please comment
Reply
#2

Show the code where it gives errors & warnings
Reply
#3

what code
Reply
#4

Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(979) : error 021: symbol already defined: "GetPlayerHost"
Romove one of your GetPlayerHost, because its already defined.

Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(983) : warning 209: function "GetPlayerHost" should return a value
function should return a value, just add return.

Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(18041) : warning 203: symbol is never used: "ret_memcpy"
You have defined this symbol, buy you have never used it, so you can remove it if its not needed, or just use it. Anyways, you can run your script with this warning.
Reply
#5

The codes with errors ... The Script
Reply
#6

Quote:
Originally Posted by edzis84
Посмотреть сообщение
Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(979) : error 021: symbol already defined: "GetPlayerHost"
Romove one of your GetPlayerHost, because its already defined.

Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(983) : warning 209: function "GetPlayerHost" should return a value
function should return a value, just add return.

Код:
C:\Documents and Settings\Administrator\Desktop\[UPDATED]\gamemodes\us.pwn(18041) : warning 203: symbol is never used: "ret_memcpy"
You have defined this symbol, buy you have never used it, so you can remove it if its not needed, or just use it. Anyways, you can run your script with this warning.
Thank You very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)