tutorials with no sense - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tutorials with no sense (
/showthread.php?tid=110283)
tutorials with no sense -
Sfinx_17 - 25.11.2009
why i get error when i compile this code?
pawn Код:
public OnGameModeInit()
{
print("my gamemode");
ConnectNPC("MyFirstNPC","mynpc");
return 1;
}
please help me
Re: tutorials with no sense -
Correlli - 25.11.2009
Quote:
Originally Posted by Sfinx_17
please help me
|
Sure thing, which error? - because there shouldn't be any error in THAT code.
Re: tutorials with no sense -
SergiKirov - 25.11.2009
its likely because he named his NPC files diffrently
Re: tutorials with no sense -
Sfinx_17 - 25.11.2009
i allready tryed to named those parameters with another ways but why i get errors when compile..? plz
Re: tutorials with no sense -
Correlli - 25.11.2009
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.
|
Re: tutorials with no sense -
Sfinx_17 - 25.11.2009
Correli i am not understand what your trying to say...plz help me
Re: tutorials with no sense -
Correlli - 25.11.2009
You said you got errors when you compile that code and i'm asking you which errors.
Re: tutorials with no sense -
Sfinx_17 - 25.11.2009
wait i am gooing right now in my pawno to copy paste the errors just a minute...
Re: tutorials with no sense -
Sfinx_17 - 25.11.2009
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.
Re: tutorials with no sense -
patchkinson - 25.11.2009
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!