Pickup Issues.
#2

Try this..:

pawn Код:
// TUTORIAL PICKUPS
    if(pickupid == tutorialpickup[playerid][0])
    {
        // Vehicle Interaction
        SendClientMessage(playerid, 0xFFFFFFFF, " ");
        SendClientMessage(playerid, 0xFFCC9999, "Tutorial #1: Vehicle interaction.");
        SendClientMessage(playerid, 0xFFCC9999, "To interact with vehicles, walk up beside one or get into one and press 'Y' or type '/vinteract'.");
        tutorialvehicle[playerid] = CreateVehicle(405, -2706.7336, 349.0867, 4.1325, 1.1084, 0, 0, -1);
        SetVehicleVirtualWorld(tutorialvehicle[playerid], playerid+100);
        SetVehicleParamsEx(tutorialvehicle[playerid], 0, 0, 0, 0, 0, 0, 0);
        SendClientMessage(playerid, 0xFFCC9999, "To interact with the lights and engine you can use: /eon, /eoff, /lon and /loff.");
        SendClientMessage(playerid, 0xFFCC9999, "To finish the tutorial you must break the window of the vehicle.");
        return 1;
    }
    if(pickupid == tutorialpickup[playerid][1])
    {
        // Basic Role-Play
        SendClientMessage(playerid, 0xFFFFFFFF, " ");
        SendClientMessage(playerid, 0xFFCC9999, "Tutorial #2: Basic Role-play.");
        SendClientMessage(playerid, 0xFFCC9999, "There are several commands that you can use to enhance roleplay, these are: /me and /do");
        SendClientMessage(playerid, 0xFFCC9999, "You can also try: /accent and /description to help describe your character.");
        SendClientMessage(playerid, 0xFFCC9999, "Here are some examples:");
        SendClientMessage(playerid, 0xC2A2DAAA, "Ben Karner holds his hand on the back of his neck, rolling his neck across his shoulders.");
        SendClientMessage(playerid, 0xC2A2DAAA, "You would hear a quiet cracking sound. ((Ben Karner))");
        return 1;
    }
    if(pickupid == tutorialpickup[playerid][2])
    {
        // Roleplaying Injuries
        SendClientMessage(playerid, 0xFFFFFFFF, " ");
        SendClientMessage(playerid, 0xFFCC9999, "Tutorial #3: Role-playing Injuries.");
        SendClientMessage(playerid, 0xFFCC9999, "Throughout your time in SF-RP you are bound to be shot, stabbed, punched and you might even fall over.");
        SendClientMessage(playerid, 0xFFCC9999, "During these occasions and others that would cause halm to your character you must RP injuries.");
        SendClientMessage(playerid, 0xFFCC9999, "You can do this by using /me's, /do's and animations.");
        TutInjuriesTimer[playerid] = SetTimerEx("TutorialInjuries", 3000, false, "i", playerid);
        return 1;
    }
    if(pickupid == tutorialpickup[playerid][3])
    {
        // Weapons
        return 1;
    }
    if(pickupid == tutorialpickup[playerid][4])
    {
        // Sidejobs
        return 1;
    }
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)