Can anyone help me?
#5

Quote:
Originally Posted by vakhtang
Посмотреть сообщение
Try testing this:
pawn Код:
#include <a_samp>

new Float:Vx[MAX_VEHICLES], Float:Vy[MAX_VEHICLES], Float:Vz[MAX_VEHICLES];

new Vehicle[MAX_VEHICLES];

public OnFilterScriptInit()
{
    Vehicle[0] = CreateVehicle(555, 0.0, 0.0, 0.0, 0.0, 0, 1, 60);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/parked", cmdtext, true, 10) == 0)
    {
        new VID;
        VID = GetPlayerVehicleID(playerid);
        DestroyVehicle(VID);
        Vehicle[VID] = CreateVehicle(555, Vx[VID], Vy[VID], Vz[VID], 0.0, 0, 1, 60);
        return 1;
    }
    return 0;
}
i need a script that will display menu of my vehicles when i type vstorage. and the vehicle can only be spawned on last PARK position. and also can be despawned. thanks for replying everyone. im really noob guys. so can u create a text box and the script you made up here?
Reply


Messages In This Thread
Can anyone help me? - by scorpionking674 - 01.03.2012, 00:50
Re: Can anyone help me? - by vakhtang - 01.03.2012, 05:06
Re: Can anyone help me? - by vakhtang - 01.03.2012, 05:08
Re: Can anyone help me? - by vakhtang - 01.03.2012, 05:21
Re: Can anyone help me? - by scorpionking674 - 01.03.2012, 15:50

Forum Jump:


Users browsing this thread: 4 Guest(s)