Input line to long who help REP + -
GHSFilip - 12.08.2012
I have the problem you now that eror fucking input line to long I now line is to long everething but i don't wonna to delete anything!!!!! LINE
if (IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) || IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) || IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) || IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) || IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382
|| IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413))
{
I now I can use strcat but I don't now how to use that and because you now help me
sorry for bad english!!!!!!!!!
I can't give you REP+ but My friend will give
PLEASE HELP
: D
:
:
Re: Input line to long who help REP + -
phillip875 - 12.08.2012
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) || IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) || IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) || IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382 || IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413)))
You can use more than one line, just remember to close it off
Re: Input line to long who help REP + -
Faisal_khan - 12.08.2012
Try this:
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) ||
IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382 ||
IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413))
Re: Input line to long who help REP + -
GHSFilip - 12.08.2012
thanks rep+ for you two
Re: Input line to long who help REP + -
GHSFilip - 12.08.2012
IT's NOT WORK -.- :S :S i can't complete just pawno not responding here is my full command
Код:
if(strcmp(cmdtext, "/trafika", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) || IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) || IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) || IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382 || IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413))
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s kupuje neke stvarcice na trafici (/trafika) .", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ShowPlayerDialog(playerid, DIALOG_TRAFIKA, DIALOG_STYLE_LIST, "TRAFIKA,KIOSK", "Telefon ($500)\n Imenik ($50)\n Kredit [200RSD] ($250)", "Kupi", "Odustani");
}
return 1;
}
Please guys help my friend give rep+
Re: Input line to long who help REP + -
GHSFilip - 12.08.2012
Please guys :S
AW: Input line to long who help REP + -
Kwashiorkor - 12.08.2012
Код:
if(strcmp(cmdtext, "/trafika", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) || IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) || IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) || IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382) || IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s kupuje neke stvarcice na trafici (/trafika) .", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ShowPlayerDialog(playerid, DIALOG_TRAFIKA, DIALOG_STYLE_LIST, "TRAFIKA,KIOSK", "Telefon ($500)\n Imenik ($50)\n Kredit [200RSD] ($250)", "Kupi", "Odustani");
}
return 1;
}
red highlighted ')' and '{' were missing
Re: Input line to long who help REP + -
phillip875 - 12.08.2012
pawn Код:
if(strcmp(cmdtext, "/trafika", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.2844,-935.1246,43.1637) || IsPlayerInRangeOfPoint(playerid, 5.0,1382.6752,-962.8252,34.2436) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1484.0481,-1029.2765,23.6563) || IsPlayerInRangeOfPoint(playerid, 5.0,969.6546,-1133.7941,23.8281) || IsPlayerInRangeOfPoint(playerid, 5.0,1230.7679,-1276.4363,13.382 || IsPlayerInRangeOfPoint(playerid, 5.0,1435.5203,-1584.8782,13.5469) ||
IsPlayerInRangeOfPoint(playerid, 5.0,1531.0435,-1738.5515,13.5469) || IsPlayerInRangeOfPoint(playerid, 5.0,1576.6321,-2336.5461,13.5413))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s kupuje neke stvarcice na trafici (/trafika) .", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ShowPlayerDialog(playerid, DIALOG_TRAFIKA, DIALOG_STYLE_LIST, "TRAFIKA,KIOSK", "Telefon ($500)\n Imenik ($50)\n Kredit [200RSD] ($250)", "Kupi", "Odustani");
}
return 1;
}
AW: Input line to long who help REP + -
Kwashiorkor - 12.08.2012
@phillip875: there is still a ')' missing in your code
Re: Input line to long who help REP + -
GHSFilip - 12.08.2012
Ok THANK YOU Kwashiorkor
and you phiilip tomorow you have rep+
THANK SO MUCHHHHHH
do you guys have skype,xfire,********? Please give me to add you