SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 30/08/2010, 10:10 PM   #1
GBLTeam
Gangsta
 
GBLTeam's Avatar
 
Join Date: Mar 2009
Location: Macedonia
Posts: 643
Reputation: 6
Default I have problem with JunkBuster.

I have one problem with JunkBuster. Please help me thanks!

Problem with JunkBuster Please fast help me!


Code:
C:\Documents and Settings\Team\Desktop\pawno\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Team\Desktop\C\C\gamemodes\CS.pwn(769) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Team\Desktop\C\C\gamemodes\CS.pwn(41588) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
p

Line 769: if(PlayerInfo[playerid][pAdmin] >= 1)
Line 41588: new giveplayerid;



On line 41587 i have added return 0;//only return 0 if you use your on chat system. (Godfather script returns 0, it has it's own chat system)
And when i remove it 41588 error leave.
There is other problem in JunkBuster.inc line 3248
Code:
#define OnPlayerEnterRaceCheckpoint JB_OnPlayerEnterRaceCheckpoint
GBLTeam is offline  
Old 31/08/2010, 03:49 AM   #2
willsuckformoney
High-roller
 
willsuckformoney's Avatar
 
Join Date: Dec 2009
Posts: 1,492
Reputation: 65
Default Re: I have problem with JunkBuster.

means you have OnPlayerEnterRaceCheckpoint for error one and playerinfo do you have new PlayerInfo[MAX_PLAYERS][what ever] ?
__________________
Fuck the system.
willsuckformoney is offline  
Old 31/08/2010, 03:53 AM   #3
cessil
High-roller
 
cessil's Avatar
 
Join Date: Apr 2009
Posts: 1,356
Reputation: 310
Default Re: I have problem with JunkBuster.

line 769 seems like you have not created the variable PlayerInfo, you could have made a typo so check the exact spelling.

line 41588 means that line will never ever be reached, put it above line 41587
cessil is offline  
Old 31/08/2010, 07:41 AM   #4
GBLTeam
Gangsta
 
GBLTeam's Avatar
 
Join Date: Mar 2009
Location: Macedonia
Posts: 643
Reputation: 6
Default Re: I have problem with JunkBuster.

Quote:
Originally Posted by willsuckformoney View Post
means you have OnPlayerEnterRaceCheckpoint for error one and playerinfo do you have new PlayerInfo[MAX_PLAYERS][what ever] ?
I have new PlayerInfo[MAX_PLAYERS][pInfo];

and

Code:
public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}
GBLTeam is offline  
Old 31/08/2010, 07:43 AM   #5
GBLTeam
Gangsta
 
GBLTeam's Avatar
 
Join Date: Mar 2009
Location: Macedonia
Posts: 643
Reputation: 6
Lightbulb Re: I have problem with JunkBuster.

Quote:
Originally Posted by cessil View Post
line 769 seems like you have not created the variable PlayerInfo, you could have made a typo so check the exact spelling.

line 41588 means that line will never ever be reached, put it above line 41587

What you man?
GBLTeam is offline  
Old 31/08/2010, 07:50 AM   #6
Grim_
High-roller
 
Grim_'s Avatar
 
Join Date: Sep 2008
Location: United States
Posts: 2,896
Reputation: 118
Default Re: I have problem with JunkBuster.

Search/ask in the JunkBuster topic.

[This forum requires that you wait 120 seconds between posts. Please try again in 11 seconds.] VERY ANNOYING
Grim_ is offline  
Old 31/08/2010, 03:02 PM   #7
GBLTeam
Gangsta
 
GBLTeam's Avatar
 
Join Date: Mar 2009
Location: Macedonia
Posts: 643
Reputation: 6
Default Re: I have problem with JunkBuster.

Quote:
Originally Posted by Grim_ View Post
Search/ask in the JunkBuster topic.

[This forum requires that you wait 120 seconds between posts. Please try again in 11 seconds.] VERY ANNOYING
Im waiting there 2 days no answer!
GBLTeam is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP]JunkBuster Proteine Help Archive 3 07/08/2010 10:54 AM
JunkBuster help Proteine Help Archive 10 09/07/2010 12:21 PM
junkbuster problem NiiRV4N4 Help Archive 3 08/05/2010 12:36 AM
junkbuster WalkingTall Help Archive 1 05/04/2010 12:45 AM
Junkbuster - Moneyproblem Master_FM Help Archive 1 03/09/2009 12:47 PM


All times are GMT. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.