Line help !
#1

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 ?
Reply
#2

Note the parameters:

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


Forum Jump:


Users browsing this thread: 1 Guest(s)