Posts: 311
Threads: 55
Joined: Dec 2009
my friend and me get his error:
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
Код:
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(3313) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
Posts: 311
Threads: 55
Joined: Dec 2009
and this:
Код:
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(16899) : error 017: undefined symbol "distance"
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(16899) : warning 215: expression has no effect
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(16899) : error 001: expected token: ";", but found ")"
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(16899) : error 029: invalid expression, assumed zero
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(16899) : fatal error 107: too many error messages on one line
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
That's not an error, it's only a compiler warning.
However - It does represent that there's something wrong with one of your includes.
I'm assuming your using the Audio Streamer plugin?
Posts: 311
Threads: 55
Joined: Dec 2009
Quote:
Originally Posted by Twisted_Insane
I don't think that your problem is there, do you have somewhere this line? Or such a line:
If yes, then you'll need to forward it! Show it to me!
|
I got this
Код:
public Audio_OnSetPack(audiopack[])
{
foreach(Player, i)
{
Audio_TransferPack(i);
}
return 1;
}
but no forward when i do "forward Audio" on the Find Box
Posts: 311
Threads: 55
Joined: Dec 2009
now this error:
Код:
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 029: invalid expression, assumed zero
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 001: expected token: ")", but found "new"
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 003: declaration of a local variable must appear in a compound block
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : fatal error 107: too many error messages on one line
Код:
else if(type == TYPE_TPDRUGRUNTIMER)
{
if(GetPVarInt(playerid, "tpDrugRunTimer") > 0)
{
SetPVarInt(playerid, "tpDrugRunTimer", GetPVarInt(playerid, "tpDrugRunTimer")-1);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPDRUGRUNTIMER);
}
}
Posts: 975
Threads: 78
Joined: Feb 2012
Reputation:
0
Sigh...Which one is the line with the error? Also, you should be able to fix something like that by yourself dude...
Posts: 311
Threads: 55
Joined: Dec 2009
Quote:
Originally Posted by sanplayer
now this error:
Код:
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 029: invalid expression, assumed zero
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 001: expected token: ")", but found "new"
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : error 003: declaration of a local variable must appear in a compound block
C:\Users\Ghost\Desktop\Next Generation Roleplay\gamemodes\CCRP-Update.pwn(14840) : fatal error 107: too many error messages on one line
Код:
else if(type == TYPE_TPDRUGRUNTIMER)
{
if(GetPVarInt(playerid, "tpDrugRunTimer") > 0)
{
SetPVarInt(playerid, "tpDrugRunTimer", GetPVarInt(playerid, "tpDrugRunTimer")-1);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPDRUGRUNTIMER);
}
}
|
help