Public isnt working
#2

pawn Код:
public IsVehicleInRadius(playerid)
{
    for(new c=0;c<MAX_VEHICLES;c++)
    {
        new Float:x, Float:y, Float:z;
        GetVehiclePos(c,x,y,z);
        if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
        {
            return SendClientMessage(playerid, COLOR_YELLOW, "You're at your car!");
        }
        else
        {
            return SendClientMessage(playerid, COLOR_YELLOW, "You're not at your car!");
        }
    }
    return 1;
}
UNTESTED
Reply


Messages In This Thread
Public isnt working - by Ice-cup - 26.01.2011, 17:38
Re: Public isnt working - by [WF]Demon - 26.01.2011, 17:43
Re: Public isnt working - by Vince - 26.01.2011, 17:44
Re: Public isnt working - by Gabe - 26.01.2011, 17:45
Re: Public isnt working - by Ice-cup - 26.01.2011, 17:55

Forum Jump:


Users browsing this thread: 2 Guest(s)