[HELP] problem in scripting
#1

Hi!

So I ave a problem. When I forward somethig and write any functionin that forwarded public pawno doesn't uderstand "playerid"
Something like this:
Код:
<...>
forward Something();
<...>
public Something()
{
Kick(playerid);
return 1;
}
And Pawno gives me error like this:

Код:
C:\Documents and Settings\vartotojas\Desktop\Naujas aplankas (6)\Naujas aplankas (5)\gamemodes\mano.pwn(296) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
How to fix this problem? please help me.
Reply
#2

pawn Код:
public Something(playerid)
Reply
#3

Quote:
Originally Posted by Miokie*
pawn Код:
public Something(playerid)
You also need to change the forward:
pawn Код:
forward Something(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)