Pawno Error, Please help.
#1

Код:
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.
Reply
#2

Put the lines here in the topic
Reply
#3

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.
Reply
#4

Lines 153 156
Reply
#5

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.
Reply
#6

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
Reply
#7

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?
Reply
#8

You don't. The forward's not suppose to be in blue.
Reply
#9

Quote:
Originally Posted by scripter1
Посмотреть сообщение
You don't. The forward's not suppose to be in blue.
Okay, thankyou.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)