Small problem, easy fix >_>
#1

This is my error.

pawn Код:
error 001: expected token: ")", but found "{"
The lines are >_>

pawn Код:
new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
    if(!IsPlayerInRangeOfPoint(playerid, 5, 65.4750,1219.2035,18.8226) && !IsPlayerInRangeOfPoint(playerid, 5, 70.6983,1218.3497,18.8133 && !IsPlayerInRangeOfPoint(playerid, 5, 75.7343,1216.3359,18.8303))
    {
        SendClientMessage(playerid, COLOR_GREY, "You are not near a gas station.");
        return 1;
    }
Anyone know the resolution?
Reply


Messages In This Thread
Small problem, easy fix >_> - by Oscii - 11.11.2012, 11:44
Re: Small problem, easy fix >_> - by Konstantinos - 11.11.2012, 11:45
Re: Small problem, easy fix >_> - by XtremeR - 11.11.2012, 11:46
Re: Small problem, easy fix >_> - by Oscii - 11.11.2012, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)