[Pomoc] Car Ownership za moja auta

Započeo Sαѕυкє, Jun 10, 2011, 12:47:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Hadzici Roleplay
Detaljan opis problema: Ovako, u MTA sam napravio "salon auta" tj, na odredjenom mjestu sam stavio auta da
mi bude kao auto  salon, e sada, jel mi moze ko stavit tu kod sta da dodam u skriptu da ta auta budu na prodaju,
da ono kada udjes u njeg pise, tolko tolko cijena, upisite /v buy da kupite i to
Dio skripte:

Salon

//AUTO SALON---------------------------------------------------------------------------------------------
    AddStaticVehicleEx(517,2501.72558594,-1747.36242676,13.35320377,90.00000000,16,16,15); //Majestic
    AddStaticVehicleEx(492,2501.71484375,-1751.98779297,13.31763172,90.00000000,16,16,15); //Greenwood
    AddStaticVehicleEx(535,2502.15014648,-1756.43627930,13.25380516,90.00000000,16,16,15); //Slamvan
    AddStaticVehicleEx(405,2491.62548828,-1756.24353027,13.50632954,270.00000000,16,1,15); //Sentinel
    AddStaticVehicleEx(458,2491.79687500,-1752.26562500,13.47503281,270.00000000,16,1,15); //Solair
    AddStaticVehicleEx(471,2490.52514648,-1746.47668457,13.09100246,272.00000000,16,16,15); //Quad
    AddStaticVehicleEx(572,2490.50097656,-1748.99768066,13.15621567,272.00000000,16,1,15); //Mower


if(IsAnOwnableCar(newcar))
{
    if(CarInfo[newcar][cOwned]==0)
    {
        TogglePlayerControllable(playerid, 0);
        format(string,sizeof(string),"~w~Vozilo: %s~n~Cijena: ~g~%d~n~~w~/v buy da biste kupili vozilo~n~~r~/exit ~w~da izadjete",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);
GameTextForPlayer(playerid,string,3000,5);
}
    if(CarInfo[newcar][cOwned]==1)
    {
        format(string,sizeof(string),"Vozilo je registrovano na %s",CarInfo[newcar][cOwner]);
SendClientMessage(playerid, COLOR_BLUE, string);
/*if(keycar != vehicle)
{
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, COLOR_GREY, "You don't have a key of this vehicle");
}*/
if(PlayerInfo[playerid][pPcarkey] == vehicle) { }
else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }
else if(PlayerInfo[playerid][pPcarkey3] == vehicle) { }
else
{
    if(PlayerInfo[playerid][pAdmin] >= 1337 && AdminDuty[playerid] == 1)
{
    SendClientMessage(playerid, COLOR_LIGHTRED, "Admin | Mozes voziti ovo zato sto si na Admin Duznosti !");
}
    else
    {
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,0);
    SendClientMessage(playerid, COLOR_GREY, "Nemate kljuceve od ovog vozila");
}
}
}
}
gLastCar[playerid] = newcar;
gLastDriver[newcar] = playerid;
}


Ne izbaca nikakve errore, to sto sam ubacio je sve ok, samo ta auta mi sada nisu na prodaju, a nemam kljuceve od njih.
Pomoc!!!
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

hohoho to je onwership (car) i nece ti neiko to samo za tebe naskriptat imas par FS ownershipa pa skini!!!
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

OK potrazicu ali mislio sam da so to lahko moze, jer na GM-u ima vec jedan auto salon i nema nista vezano za to
osim ove skripte koju sam dao gore i jos ono addstative...