SA-MP Forums Archive
Line help ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Line help ! (/showthread.php?tid=438239)



Line help ! - Kirchhoff - 19.05.2013

pawn Код:
CMD:inmatriculare(playerid, params[]){
if(IsPlayerInRangeOfPoint(playerid, 20.0, 1404.4106,-1774.7357,13.5469 || IsPlayerInRangeOfPoint(playerid, 20.0, -1757.8441,946.5960,24.8828)) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
    ShowDialog(playerid, Show:Inmatriculare1,DIALOG_STYLE_LIST,"Alege Orasul","Los Santos\nSan Fiero\nLas Venturas","Select","");
    }
    return 1;
}
warning : tag mismatch and it's not working ! The line is

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0, 1404.4106,-1774.7357,13.5469 || IsPlayerInRangeOfPoint(playerid, 20.0, -1757.8441,946.5960,24.8828)) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
How can I fix it ?


AW: Line help ! - Blackazur - 19.05.2013

Note the parameters:

Код:
(playerid, Float:range, Float:x, Float:y, Float:z)