18.09.2016, 11:59
Hello,
I am getting this warning.
beta.pwn(4336) : warning 203: symbol is never used: "playerid" .
and here is the line, 4336.
I don't want to remove the playerid, because it is being used, but in different function.
I mean, the function is in a include of this gamemode.
I am getting this warning.
beta.pwn(4336) : warning 203: symbol is never used: "playerid" .
and here is the line, 4336.
Код:
stock IsNearATM(playerid) { new bool:IsClose = false; for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i, 1.0, -1867.30005, 943.35999, 34.80000)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -1622.09998, 716.82001, 14.24000)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -2450.19995, 755.59998, 34.80000)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -2727.46777, 388.97891, 4.00720)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -2638.05371, 635.36920, 14.07310)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -1939.57678, 265.36539, 40.66030)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -1764.69995, 1084.00000, 45.10000)) //Checking if player close to first/only ATm we created. { IsClose = true; } else if(IsPlayerInRangeOfPoint(i, 1.0, -1493.13049, 930.49518, 6.81230)) //Checking if player close to first/only ATm we created. { IsClose = true; } } return IsClose; }
I mean, the function is in a include of this gamemode.