Weird Problem O_O - 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: Weird Problem O_O (
/showthread.php?tid=363203)
Weird Problem O_O -
Rudy_ - 26.07.2012
pawn Code:
forward ShotFire();
public ShotFire()
{
FireShot[playerid] = 0;
return 1;
}
pawn Code:
C:\Users\Warkadang\Desktop\Scripting\Scripting\filterscripts\Test.pwn(47) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Re: Weird Problem O_O -
FireCat - 26.07.2012
pawn Code:
forward ShotFire(playerid);
public ShotFire(playerid)
{
FireShot[playerid] = 0;
return 1;
}
Your forgot to specifie the 'playerid'
Re: Weird Problem O_O - Marlon_Lorran - 26.07.2012
Code:
forward ShotFire(playerid);
public ShotFire(playerid)
{
FireShot[playerid] = 0;
return 1;
}
Re: Weird Problem O_O -
Rudy_ - 26.07.2012
Oo thanks.
I should really stop scripting at Night "3:11 AM"