Own Car
#5

pawn Код:
#include <a_samp>

#define COLOR_WHITE 0xFFFFFFAA

new tomo;

public OnFilterScriptInit()
{
    print("\n------------------------");
    print("Masinu rezervacija by eMs_");
    print("------------------------\n");
    return 1;
}

public OnGameModeInit()
{
    tomo = CreateVehicle(444,-2534.7346,-616.5275,132.9338,269.4894,122,76,120); // monstras
    return 1;
}

public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name, "eMs_", false) == 0)
{
SetVehicleParamsForPlayer(tomo,playerid,0,1);
}
return 1;
}
Try that, That will lock the vehicle for everyone else but you
Reply


Messages In This Thread
Own Car - by [LNL]Remulis - 06.03.2009, 15:57
Re: Own Car - by MenaceX^ - 06.03.2009, 16:03
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:03
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:04
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:10
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:13
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:13
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:15
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:16
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:18

Forum Jump:


Users browsing this thread: 3 Guest(s)