Pawno Error, Please help. - 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: Pawno Error, Please help. (
/showthread.php?tid=196563)
Pawno Error, Please help. -
iGetty - 05.12.2010
Код:
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(153) : warning 235: public function lacks forward declaration (symbol "unjail")
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(156) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
Re: Pawno Error, Please help. - rjjj - 05.12.2010
Put the lines here in the topic
Re: Pawno Error, Please help. -
iGetty - 05.12.2010
Quote:
Originally Posted by rjjj
Put the lines here in the topic 
|
Код:
Line 215: //Other texts----------
Line 216: new Text:Textdraw0[MAX_PLAYERS];
Line 217: new Text:Textdraw2;
Line 218:
Line 219: new Weapons[MAX_PLAYERS][50];
&&
Код:
Line 233:
Line 234:new Tax = 0;
Line 235:new TaxValue = 0;
Line 236:
Line 237:enum iiInfo
Thank-you.
Re: Pawno Error, Please help. -
willsuckformoney - 05.12.2010
Lines 153 156
Re: Pawno Error, Please help. -
iGetty - 05.12.2010
Quote:
Originally Posted by willsuckformoney
Lines 153 156
|
Oops sorry, This is from line 150 up to 160.
Код:
#define COLOR_BLUE 0x2641FEAA
#define MAX_TRUNK_SLOTS 5
#define CAR_AMOUNT 2000
public unjail(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}
forward InitPlayer(playerid);
forward DollahScoreUpdate();
forward SetPlayerRandomSpawn(playerid,type);
Thanks.
Re: Pawno Error, Please help. - rjjj - 05.12.2010
Here, i did it:
pawn Код:
#define COLOR_BLUE 0x2641FEAA
#define MAX_TRUNK_SLOTS 5
#define CAR_AMOUNT 2000
forward unjail(playerid);
public unjail(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}
forward InitPlayer(playerid);
forward DollahScoreUpdate();
forward SetPlayerRandomSpawn(playerid,type);
I hope i have helped
Re: Pawno Error, Please help. -
iGetty - 05.12.2010
Quote:
Originally Posted by rjjj
Here, i did it:
pawn Код:
#define COLOR_BLUE 0x2641FEAA #define MAX_TRUNK_SLOTS 5 #define CAR_AMOUNT 2000 forward unjail(playerid); public unjail(playerid) { TogglePlayerControllable(playerid, true); return 1; } forward InitPlayer(playerid); forward DollahScoreUpdate(); forward SetPlayerRandomSpawn(playerid,type);
I hope i have helped 
|
Thank'you, but how do i get the "Forward" into blue letters?
Re: Pawno Error, Please help. -
scripter1 - 05.12.2010
You don't. The forward's not suppose to be in blue.
Re: Pawno Error, Please help. -
iGetty - 05.12.2010
Quote:
Originally Posted by scripter1
You don't. The forward's not suppose to be in blue.
|
Okay, thankyou.