I don't get this - 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)
+--- Thread: I don't get this (
/showthread.php?tid=309138)
I don't get this -
[NOR]John - 06.01.2012
This is what it says in my pawno
pawn Код:
(
public OnPlayerConnect(playerid)
)
return1;
(
And this is what it says when i compile it
pawn Код:
pwn(200) : warning 217: loose indentation
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(200 -- 201) : error 029: invalid expression, assumed zero
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(201) : error 017: undefined symbol "playerid"
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(201) : error 029: invalid expression, assumed zero
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(201) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Line 200 and 201 is the two first
Anyone got an idea why this is wrong?.. I have been trying everything
Re: I don't get this -
Stigg - 06.01.2012
pawn Код:
public OnPlayerConnect(playerid)
{
return 1;
}
Re: I don't get this -
[NOR]John - 06.01.2012
pawn Код:
pwn(200) : error 029: invalid expression, assumed zero
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(200) : error 004: function "OnPlayerConnect" is not implemented
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(205) : warning 225: unreachable code
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(205) : error 029: invalid expression, assumed zero
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(205 -- 206) : warning 215: expression has no effect
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(206) : error 001: expected token: ";", but found "public"
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(206) : error 029: invalid expression, assumed zero
C:\Users\Johannes\Desktop\Galaxy Trucking\gamemodes\public.pwn(206) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
AW: I don't get this -
BigETI - 06.01.2012
Do
on top of your script
Re: AW: I don't get this -
[NOR]John - 06.01.2012
Quote:
Originally Posted by BigETI
|
It has always been there.
Re: I don't get this -
Stigg - 06.01.2012
Show the whole code.
Re: I don't get this -
[NOR]John - 06.01.2012
Which code? The include on the top? Or the onplayerconnect?
AW: I don't get this -
BigETI - 06.01.2012
He means the whole code
Re: I don't get this -
TheArcher - 06.01.2012
I think he's doing some mistake
Make a blank page. and paste this
pawn Код:
#include <a_samp>
public OnPlayerConnect(playerid)
{
return 1;
}