22.01.2014, 06:47
Okay so I downloaded this script and Iv been trying to fix it for a while by my self, Iv narrowed down the errors to below, I'm pretty sure it has something to do with the custom radio station streaming but iv tried to do all I can with it like removing it all together but I just get more errors, and Id really like to just make it work, so I have ran out of hope fixing it myself and decided to see if you all could help me, I would really appreciate it I'm pretty new to scripting.
Here are the errors:
pawno\include\/Vision/Enums.inc(977) : error 029: invalid expression, assumed zero
(1521) : error 017: undefined symbol "pChannel"
(4248) : error 017: undefined symbol "pChannel"
(4260) : error 017: undefined symbol "pChannel"
(4262) : error 017: undefined symbol "pOwnedChannel"
(4266) : error 017: undefined symbol "pOwnedChannel"
(4276) : error 017: undefined symbol "radioChannel"
(4288) : error 017: undefined symbol "radioChannel"
(4343) : error 017: undefined symbol "radioChannel"
(4350) : error 017: undefined symbol "radioChannel"
(4529) : error 017: undefined symbol "pChannel"
(4530) : error 017: undefined symbol "pOwnedChannel"
(4538) : error 017: undefined symbol "PlayerVehicle"
(4538) : warning 215: expression has no effect
(4538) : error 001: expected token: ";", but found "]"
(4538) : error 029: invalid expression, assumed zero
(4538) : fatal error 107: too many error messages on one line
Here are the lines the errors are coming from:
(1521) new channel = PlayerInfo[id][pChannel];
(4248) PlayerInfo[playerid][pChannel] = channel;
(4260)stock GetPlayerChannel(playerid) return PlayerInfo[playerid][pChannel];
(4262)stock GetOwnedChannel(playerid) return PlayerInfo[playerid][pOwnedChannel];
(4266) if(PlayerInfo[playerid][pOwnedChannel] > 0)
(4276) if(RadiosInfo[i][radioChannel] == channelid && RadiosInfo[i][radioOn] == 1)
(4288) if(RadiosInfo[i][radioChannel] == channelid)
(4343) format(query, sizeof(query), "UPDATE `users` SET `channel` = '0' WHERE `channel` = %d", RadiosInfo[slotid][radioChannel]);
(4350) format(query, sizeof(query), "UPDATE `users` SET `channel` = %d, `authed` = %d WHERE `channel` = %d", 0, 0, RadiosInfo[slotid][radioChannel]);
(4529) PlayerInfo[playerid][pChannel] = 0;
(4530) PlayerInfo[playerid][pOwnedChannel] = 0;
(4538) strmid(PlayerVehicle[playerid][pVeh1], "None", 0, strlen("None"), 255);
Thanks for your time, and your help!
Here are the errors:
pawno\include\/Vision/Enums.inc(977) : error 029: invalid expression, assumed zero
(1521) : error 017: undefined symbol "pChannel"
(4248) : error 017: undefined symbol "pChannel"
(4260) : error 017: undefined symbol "pChannel"
(4262) : error 017: undefined symbol "pOwnedChannel"
(4266) : error 017: undefined symbol "pOwnedChannel"
(4276) : error 017: undefined symbol "radioChannel"
(4288) : error 017: undefined symbol "radioChannel"
(4343) : error 017: undefined symbol "radioChannel"
(4350) : error 017: undefined symbol "radioChannel"
(4529) : error 017: undefined symbol "pChannel"
(4530) : error 017: undefined symbol "pOwnedChannel"
(4538) : error 017: undefined symbol "PlayerVehicle"
(4538) : warning 215: expression has no effect
(4538) : error 001: expected token: ";", but found "]"
(4538) : error 029: invalid expression, assumed zero
(4538) : fatal error 107: too many error messages on one line
Here are the lines the errors are coming from:
(1521) new channel = PlayerInfo[id][pChannel];
(4248) PlayerInfo[playerid][pChannel] = channel;
(4260)stock GetPlayerChannel(playerid) return PlayerInfo[playerid][pChannel];
(4262)stock GetOwnedChannel(playerid) return PlayerInfo[playerid][pOwnedChannel];
(4266) if(PlayerInfo[playerid][pOwnedChannel] > 0)
(4276) if(RadiosInfo[i][radioChannel] == channelid && RadiosInfo[i][radioOn] == 1)
(4288) if(RadiosInfo[i][radioChannel] == channelid)
(4343) format(query, sizeof(query), "UPDATE `users` SET `channel` = '0' WHERE `channel` = %d", RadiosInfo[slotid][radioChannel]);
(4350) format(query, sizeof(query), "UPDATE `users` SET `channel` = %d, `authed` = %d WHERE `channel` = %d", 0, 0, RadiosInfo[slotid][radioChannel]);
(4529) PlayerInfo[playerid][pChannel] = 0;
(4530) PlayerInfo[playerid][pOwnedChannel] = 0;
(4538) strmid(PlayerVehicle[playerid][pVeh1], "None", 0, strlen("None"), 255);
Thanks for your time, and your help!