16.06.2010, 01:34
[color=red][b][u]Status :: Still Need Help !!
In my script I was programming in 0.2.2 Now that there is 0.3 I transfered. Now when I compile I Get Two errors.
Normally, I get the last three warnings, and it compiles fine. What do I need to change to make it compatible with 0.3?
Here Is What I Have For The Script::
Thank you!
Note :: Before I updated, I never got those two errors.
In my script I was programming in 0.2.2 Now that there is 0.3 I transfered. Now when I compile I Get Two errors.
Code:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\ZombieLSRP.pwn(2522) : error 032: array index out of bounds (variable "File_VehicleOwner") C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\ZombieLSRP.pwn(2523) : error 032: array index out of bounds (variable "File_VehicleOwner") C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\ZombieLSRP.pwn(3319) : warning 203: symbol is never used: "AddCandyMachine" C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\ZombieLSRP.pwn(3319) : warning 203: symbol is never used: "AddSprunkMachine" C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\ZombieLSRP.pwn(3319) : warning 203: symbol is never used: "KillVeh"
Here Is What I Have For The Script::
Code:
new File_VehicleOwner[256]; File_VehicleOwner = dini_Get(VehicleFile, "Owner"); if (GetPlayerName(playerid, name, MAX_PLAYER_NAME) == File_VehicleOwner[MAX_PLAYERS]) { IsVehicleOwnerInCar[playerid] = 1; } else if (GetPlayerName(playerid, name, MAX_PLAYER_NAME) == File_VehicleOwner[MAX_PLAYERS] ) { IsVehicleOwnerInCar[playerid] = 0; }
Note :: Before I updated, I never got those two errors.