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")
public Audio_OnSetPack
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);
new Float:distance;
I don't think that your problem is there, do you have somewhere this line? Or such a line:
pawn Код:
|
public Audio_OnSetPack(audiopack[]) { foreach(Player, i) { Audio_TransferPack(i); } return 1; }
forward Audio_OnSetPack(audiopack[]);
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); } }
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); } } |