Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52090) : error 017: undefined symbol "iIndex"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(5213
: error 017: undefined symbol "iIndex"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52173) : error 017: undefined symbol "iIndex"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54077) : error 029: invalid expression, assumed zero
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54077) : warning 215: expression has no effect
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54077) : error 001: expected token: ";", but found "if"
Please help.. stuck with this whole day tryna fix it :L
-.-
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ],30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1,-1,-1, 30.0);
^^ CODE ^^
Respuesta: Undefined symbol "iIndex" and some errors -
WagnerPM - 17.06.2012
The top
Re: Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
Where do I put that?
Re: Undefined symbol "iIndex" and some errors -
milanosie - 17.06.2012
Look carefully at what he said:
Once more:
And just in case you missed it again
Re: Undefined symbol "iIndex" and some errors -
WagnerPM - 17.06.2012
On top of your GM
Re: Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(15755) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16485) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16531) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16556) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16855) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(27964) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(28003) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(28024) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52091) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodesMyRP.pwn(52139) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52174) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53869) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53881) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53889) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54032) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54042) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54045) : warning 217: loose indentation
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54050) : error 017: undefined symbol "szFileStr"
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 30.0);
HouseInfo[houseid][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
That is for the 50,000 errors
Re: Undefined symbol "iIndex" and some errors -
milanosie - 17.06.2012
Quote:
Originally Posted by RalphDogg
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(15755) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16485) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16531) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16556) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(16855) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(27964) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(28003) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(28024) : warning 219: local variable "iIndex" shadows a variable at a preceding level
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52091) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodesMyRP.pwn(52139) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52174) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53869) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53881) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53889) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54032) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54042) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54045) : warning 217: loose indentation
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54050) : error 017: undefined symbol "szFileStr"
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 30.0);
HouseInfo[houseid][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
That is for the 50,000 errors
|
I dont think you should be making a gamemode, as you cant even read the errors.
If you would read you can clearly see that a LOCAL variable is having the same name as a GLOBAL variable,
Re: Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
Im not making one I just got one and I updated the streamer because the gates and LSPD doors etc were all weird and glitched so these errors come up when I try to update streamer so i'm trying to fix them :L and you don't have to fix the warnings so its just
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52091) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodesMyRP.pwn(52139) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(52174) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53869) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53881) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(53889) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54032) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54042) : error 017: undefined symbol "szFileStr"
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54045) : warning 217: loose indentation
C:\Users\Zain\Desktop\Sa-mp server\gamemodes\MyRP.pwn(54050) : error 017: undefined symbol "szFileStr"
and this
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 30.0);
HouseInfo[houseid][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]);
Is the code for them
Re: Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
Anyone?
Re: Undefined symbol "iIndex" and some errors -
RalphDogg - 17.06.2012
Two days in a row I haven't fixed this