03.02.2014, 18:36
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6293) : error 029: invalid expression, assumed zero
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6293 -- 6294) : error 029: invalid expression, assumed zero
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6294 -- 6295) : error 029: invalid expression, assumed zero
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6294 -- 6295) : fatal error 107: too many error messages on one line
Codes
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid))
{
new i = playerid;
for(new h=0; h<=MAX_GATES; h++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, GateInfo[h][gCX], GateInfo[h][gCY], GateInfo[h][gCZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}*/
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid))
{
new i = playerid;
for(new g; g < sizeof(Gates); g++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, Gates[g][closeX],Gates[g][closeY],Gates[g][closeZ]) || IsPlayerInRangeOfPoint(i, 20.0, Gates[g][openX],Gates[g][openY],Gates[g][openZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6293 -- 6294) : error 029: invalid expression, assumed zero
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6294 -- 6295) : error 029: invalid expression, assumed zero
C:\Documents and Settings\aa\My Documents\Downloads\Current Online Italy Mafia\gamemodes\IMV6.pwn(6294 -- 6295) : fatal error 107: too many error messages on one line
Codes
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid))
{
new i = playerid;
for(new h=0; h<=MAX_GATES; h++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, GateInfo[h][gCX], GateInfo[h][gCY], GateInfo[h][gCZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}*/
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid))
{
new i = playerid;
for(new g; g < sizeof(Gates); g++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, Gates[g][closeX],Gates[g][closeY],Gates[g][closeZ]) || IsPlayerInRangeOfPoint(i, 20.0, Gates[g][openX],Gates[g][openY],Gates[g][openZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}