17.08.2012, 16:28
Check this, cannot see the problem is crash my script
pawn Код:
for(new i = 0; i < 247; i++)
{
if(PlayerToPoint(1.0,playerid,2.1507,-29.0139,1003.5494))
{
ShowPlayerDialog(playerid, 752, DIALOG_STYLE_LIST, "Welcome to 24/7", "Phone Book ($20) \nDice($10) \nMask($50) \nWatch($35) \nWalkieTalkie($50) \nSpray can($90) \nSprunk Can($3) \nRope($100) \nCigarettes($20) \nLighter($5) \nSeeds($100) \nHidden Number($20) \nMP3 Player($70)\nRoller Skates($25)\nCellphone($55)\nPhone Card($20)", "Buy", "Cancel");
}
}
for(new i = 0; i < 247; i++)
{
if(PlayerToPoint(1.0,playerid,-28.1577,-89.9538,1003.5469))
{
ShowPlayerDialog(playerid, 752, DIALOG_STYLE_LIST, "Welcome to 24/7", "Phone Book ($20) \nDice($10) \nMask($50) \nWatch($35) \nWalkieTalkie($50) \nSpray can($90) \nSprunk Can($3) \nRope($100) \nCigarettes($20) \nLighter($5) \nSeeds($100) \nHidden Number($20) \nMP3 Player($70)\nRoller Skates($25)\nCellphone($55)\nPhone Card($20)", "Buy", "Cancel");
}
for(new i = 0; i < 247; i++)
{
if(PlayerToPoint(1.0,playerid,-29.0530,-185.1293,1003.5469))
{
ShowPlayerDialog(playerid, 752, DIALOG_STYLE_LIST, "Welcome to 24/7", "Phone Book ($20) \nDice($10) \nMask($50) \nWatch($35) \nWalkieTalkie($50) \nSpray can($90) \nSprunk Can($3) \nRope($100) \nCigarettes($20) \nLighter($5) \nSeeds($100) \nHidden Number($20) \nMP3 Player($70)\nRoller Skates($25)\nCellphone($55)\nPhone Card($20)", "Buy", "Cancel");
}
}