Errors
#1

C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(174 : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1773) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1790) : error 004: function "IsACopCar" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1793) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1795) : error 004: function "IsAnAmbulance" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(179 : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1801) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1804) : warning 225: unreachable code
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1804) : warning 217: loose indentation
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1804) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1804) : error 004: function "IsAMember" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1812) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1816) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1819) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1822) : warning 225: unreachable code
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1822) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1822) : error 004: function "IsACop" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1830) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1834) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1837) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1840) : warning 225: unreachable code
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1840) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1840) : error 004: function "IsAtClothShop" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1846) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1850) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1853) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1856) : warning 225: unreachable code
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1856) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1856) : error 004: function "IsAtGasStation" is not implemented
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1862) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Gaљper\Desktop\San Andreas\SERVER\gamemodes\MSRP.pwn(1866) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.




I get errors from lines which i didnt even touch. Like 1748....Any ideas what is wrong?
Btw this happens when i tried to delete job. DMV. I am trying to make so ppl can buy license. They dont need a guy to give them.

So, any ideas?
Reply
#2

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Reply
#3

Yes i was looking here. But i steel dont know what to do. I am not familyer with those things. Sorry. Can anyone tell me in easy way.
Reply
#4

There is no easy way.. you removed some functions that are needed somewhere else in the script, some functions return both arrays and other values, unreachable code means that you put something like this

pawn Код:
stock MyFunction()
{
  doSomethingHere();
  return 1;
  doSomethingElseHere();
}
it will never get to doSomethingElseHere because before that the code has a return statement that is always called - the code stops executing there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)