Vehicles Owned by 1 person, Script Bug
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    switch (vehicleid)
    {
        case gcar, gcar2, gcar3, gcar4, gcar5, gcar6, gcar7, gcar8, gcar9:
        {
            new PlayerName[24];
            GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
            if (strcmp(PlayerName,"Jason_Budley",true))
            {
                ClearAnimations(playerid);
                return 1;
            }
        }
    }

    return 1;
}
Reply


Messages In This Thread
Vehicles Owned by 1 person, Script Bug - by Aerotactics - 11.02.2014, 18:30
Re: Vehicles Owned by 1 person, Script Bug - by PowerPC603 - 11.02.2014, 18:38
Re: Vehicles Owned by 1 person, Script Bug - by Aerotactics - 11.02.2014, 18:42
Re: Vehicles Owned by 1 person, Script Bug - by PowerPC603 - 11.02.2014, 18:46
Re: Vehicles Owned by 1 person, Script Bug - by Aerotactics - 11.02.2014, 18:46
Re: Vehicles Owned by 1 person, Script Bug - by PowerPC603 - 11.02.2014, 18:55
Re: Vehicles Owned by 1 person, Script Bug - by Aerotactics - 11.02.2014, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)