Problem with gTeam-Cars
#2

Код:
Cars[LSPD1]= AddStaticVehicle(596,1535.7490,-1668.1628,13.1043,359.4030,0,1);
Cars[LSPD2]= AddStaticVehicle(596,1535.8396,-1677.4053,13.1056,180.1512,0,1);
Cars[LSPD3]= = AddStaticVehicle(596,1601.7650,-1683.9963,5.6129,89.1848,0,1);

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == 2)
    {
        new CarCheck = GetPlayerVehicleID(playerid);
        if(CarCheck == Cars[LSPD] )
        {
            if(gTeam[playerid] != 1)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, FARBE_ROT, "You have no keys!");
                return 1;
            }
        }
        return 1;
    }
    return 1;
}

Try that, instead of put 2x "=" simbols, cuz I think it's not allowed on programming
Reply


Messages In This Thread
Problem with gTeam-Cars - by mel~vin - 05.11.2010, 23:31
Re: Problem with gTeam-Cars - by blackwave - 06.11.2010, 00:33
Re: Problem with gTeam-Cars - by mel~vin - 06.11.2010, 00:49
Re: Problem with gTeam-Cars - by Moglizorz. - 06.11.2010, 01:09
Re: Problem with gTeam-Cars - by mel~vin - 06.11.2010, 01:11
Re: Problem with gTeam-Cars - by Tee - 06.11.2010, 01:28
Re: Problem with gTeam-Cars - by mel~vin - 06.11.2010, 01:42
Re: Problem with gTeam-Cars - by Tee - 06.11.2010, 01:50
Re: Problem with gTeam-Cars - by mel~vin - 06.11.2010, 01:59

Forum Jump:


Users browsing this thread: 2 Guest(s)