C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(2 1 : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(2 1 : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(2 7 : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(2 7 : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1300) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2960) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2975) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2975) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2982) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2982) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2989) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2989) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(299 : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(299 : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3004) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3004) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3012) : warning 202: number of arguments does not match definition C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3012) : warning 202: number of arguments does not match definition |
//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 4070, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 1531, 1724.7344, -1741.5000, 14.1016, 0.25);
RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
RemoveBuildingForPlayer(playerid, 3986, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 1738.8594, -1813.2500, 16.9063, 0.25);
RemoveBuildingForPlayer(playerid, 1283, 1762.7891, -1732.8281, 15.6250, 0.25);
RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1817.5703, -1812.2266, 16.4219, 0.25);
{
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(270) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(270) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(330) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(330) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1300) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2960) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2975) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2975) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2982) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2982) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2989) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2989) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2998) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(2998) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3004) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3004) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3012) : warning 202: number of arguments does not match definition
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(3012) : warning 202: number of arguments does not match definition
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 4070, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 1531, 1724.7344, -1741.5000, 14.1016, 0.25);
RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
RemoveBuildingForPlayer(playerid, 3986, 1719.7422, -1770.7813, 23.4297, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 1738.8594, -1813.2500, 16.9063, 0.25);
RemoveBuildingForPlayer(playerid, 1283, 1762.7891, -1732.8281, 15.6250, 0.25);
RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1817.5703, -1812.2266, 16.4219, 0.25);
// rest of code;
return 1;
}
new string[/* a value here */];
t may sound silly,but i am not a proffessional scripter..can you please re-download sscanf2?and then try to compile it again. |
new str_[ 128 ];
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(270) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(270) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(330) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\include\sscanf2.inc(330) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1307) : error 017: undefined symbol "str_"
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1307) : error 017: undefined symbol "str_"
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1307) : error 029: invalid expression, assumed zero
C:\Users\ToXic\Desktop\pawno\MCRP.pwn(1307) : fatal error 107: too many error messages on one line
new str_[ 128 ];
format(str_, sizeof(str_), "Currently: Not Broadcasting\nViewers: %d", viewers);
}
else
{
format(str_, sizeof(str_), "Currently: LIVE\nViewers: %d", viewers);
}
UpdateDynamic3DTextLabelText(SANews3DText, COLOR_LIGHTBLUE, string);
new str_[ 128 ];
format(str_, sizeof(str_), "Currently: Not Broadcasting\nViewers: %d", viewers);
}
else
{
format(str_, sizeof(str_), "Currently: LIVE\nViewers: %d", viewers);
}
UpdateDynamic3DTextLabelText(SANews3DText, COLOR_LIGHTBLUE, string);
{
if(broadcasting == 0)
{
new str_[ 128 ];
format(str_, sizeof(str_), "Currently: Not Broadcasting\nViewers: %d", viewers);
}
else
{
format(str_, sizeof(str_), "Currently: LIVE\nViewers: %d", viewers);
}
UpdateDynamic3DTextLabelText(SANews3DText, COLOR_LIGHTBLUE, string);
}