tutorials with no sense
#1

why i get error when i compile this code?
pawn Код:
public OnGameModeInit()
{
  print("my gamemode");
  ConnectNPC("MyFirstNPC","mynpc");
  return 1;
}
please help me
Reply
#2

Quote:
Originally Posted by Sfinx_17
please help me
Sure thing, which error? - because there shouldn't be any error in THAT code.
Reply
#3

its likely because he named his NPC files diffrently
Reply
#4

i allready tryed to named those parameters with another ways but why i get errors when compile..? plz
Reply
#5

Quote:
Originally Posted by Sfinx_17
i allready tryed to named those parameters with another ways but why i get errors when compile..? plz
Quote:
Originally Posted by Don Correlli
Sure thing, which error? - because there shouldn't be any error in THAT code.
Reply
#6

Correli i am not understand what your trying to say...plz help me
Reply
#7

You said you got errors when you compile that code and i'm asking you which errors.
Reply
#8

wait i am gooing right now in my pawno to copy paste the errors just a minute...
Reply
#9

this is the errors
Код:
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(44) : warning 225: unreachable code
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(44) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#10

Quote:
Originally Posted by Sfinx_17
this is the errors
Код:
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(44) : warning 225: unreachable code
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(44) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
i doubt it but it can be caused by script above that!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)