Pickup Issues.
#5

pawn Код:
if(vwindowsdown[VehicleID] == 0)
                    {
                        vwindowsdown[VehicleID] = 2;
                        new Name[MAX_PLAYER_NAME], string[128];
                        GetPlayerName(playerid, Name, sizeof(Name));
                        format(string, sizeof(string), "* %s folds his arm up to his neck, holding his arm and swinging his elbow towards the car window. *", RemoveUnderScore(playerid));
                        ProxDetector(10.0, playerid, string, 0xC2A2DAAA, 0xC2A2DAAA, 0xC2A2DAAA, 0xC2A2DAAA, 0xC2A2DAAA);
                        if(VehicleID == tutorialvehicle[playerid])
                        {
                            tutorialsdone[playerid]++;
                            SendClientMessage(playerid, 0xFFCC9999, "Congratulations on learning the basics of /vinteract.");
                            SendClientMessage(playerid, 0xFFCC9999, "Please continue to use /vinteract, when you are finished type: /continue.");
                            SendClientMessage(playerid, 0xFFFFFFFF, " ");
                        }
                        return 1;
                    }
                    if(vwindowsdown[VehicleID] == 1)
                    {
                        SendClientMessage(playerid, 0x66666666, "The window is down.");
                        return 1;
                    }
                    if(vwindowsdown[VehicleID] == 2)
                    {
                        SendClientMessage(playerid, 0x66666666, "The window is already smashed.");
                        return 1;
                    }
There's the snippet. If you need more of it, let me know.
Reply


Messages In This Thread
Pickup Issues. - by vIBIENNYx - 27.09.2012, 11:45
Re: Pickup Issues. - by zombieking - 27.09.2012, 12:50
Re: Pickup Issues. - by vIBIENNYx - 27.09.2012, 13:33
Re: Pickup Issues. - by zombieking - 27.09.2012, 13:44
Re: Pickup Issues. - by vIBIENNYx - 27.09.2012, 13:49
Re: Pickup Issues. - by vIBIENNYx - 28.09.2012, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)