[Pomoc]NBE /v buy problem

Započeo Vukasin_Krimo
26. Feb. 2013. Zaključano
239
pregleda
3
postova
Vukasin_Krimo
2
Wheel Man
26. Feb. 2013.
Koristim GM NBE i pomesali su mi se id-evi vozila znaci kupim na pijaci vozilo hocu da ga parkiram i ono mi izbaci neko drugo vozilo,jel moguce nekako ispraviti ovo..? Hvala Unapred!
Vinnieâ„¢
4
Enforcer
26. Feb. 2013.
Imas negdje vozilo ... U skripti definisano al nema ga kad pokrenes server i onda zbog takvih vozila se sve pomijesa koji cos koristis..
Vukasin_Krimo
2
Wheel Man
26. Feb. 2013.
Pa nzm koji je ali evo neke linije valjda ces provaliti,stvarno mi treba pomoc sto se tice ovoga..
	if(strcmp(cmd, "/vehiclehelp", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo!=999 && PlayerInfo!=999 && PlayerInfo!=999)
        {
SendClientMessage(playerid, COLOR_GREEN,"________________Pomoc za Vozila________________");
SendClientMessage(playerid, COLOR_GRAD2,"*** VOZILO *** /v ");
SendClientMessage(playerid, COLOR_GRAD3,"*** VOZILO *** Dostupna imena: park, lock, sell, sellto, color");
SendClientMessage(playerid, COLOR_GRAD4,"*** OSTALO *** /cellphonehelp /help /notehelp /renthelp /bizhelp /leaderhelp /fishhelp /cookhelp /irchelp");
return 1;
}
else
{
    SendClientMessage(playerid,COLOR_GRAD2,"** Ne posedujete kola ! **");
    return 1;
}
}
return 1;
}

if(strcmp(cmd, "/apark", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:x,Float:y,Float:z;
new Float:a;
new carid;
carid = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, playername, sizeof(playername));
GetVehiclePos(carid, x, y, z);
// GetPlayerFacingAngle(playerid, a);
GetVehicleZAngle(carid, a);
if(PlayerInfo >= 4)
{
CarInfo = x;
CarInfo = y;
CarInfo = z;
CarInfo = a;
format(string, sizeof(string), "~n~ Parkirali ste ovde kola. ~n~");
GameTextForPlayer(playerid, "Parkirali ste ovde kola. Ovde ce se stvarati.", 10000, 3);
    OnPropUpdate();
SacuvajIgraca(playerid);
    DestroyVehicle(carid);
    CreateVehicle(CarInfo,CarInfo,CarInfo,CarInfo+1.0,CarInfo,CarInfo,CarInfo,60000);
return 1;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "  Nemate dozvolu da koristite ovu komandu !");
    return 1;
}
}
return 1;
}

/*if(strcmp(cmd, "/carspawn", true) == 0)
{
    if(!IsPlayerConnected(playerid)) { return 1; }
    if(PlayerInfo==999) { GameTextForPlayer(playerid, "~w~You do not have a car to locate", 2500, 3); return 1; }
    if(PlayerInfo==0) { SendClientMessage(playerid, COLOR_GRAD2, "You do not have a phone to locate your car spawn"); return 1; }
SendClientMessage(playerid,COLOR_WHITE,"Car spawn location is red on a map");
  SetPlayerCheckpoint(playerid,CarInfo[PlayerInfo], CarInfo[PlayerInfo], CarInfo[PlayerInfo], 5.0);
    return 1;
}*/
/*if(strcmp(cmd, "/carlocate", true) == 0)
{
    if(IsPlayerConnected(playerid))
{
if(PlayerInfo != 999)
{
    if(PlayerInfo != 0)
    {
        if(gPlayerCheckPointStatus != CHECKPOINT_CAR)
        {
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
format(string,sizeof(string),"** %s takes out a cellphone",sendername);
ProxDetector(15.0,playerid,string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
Wait(5000);
SendClientMessage(playerid,COLOR_WHITE,"On-Star: This is On-Star how can I help you?");
Wait(2000);
format(string,sizeof(string),"%s kaze: I'd like to locate a stolen vehicle",sendername");
                    ProxDetector(15.0,playerid,string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
                    Wait(2000);
SendClientMessage(playerid,COLOR_WHIE,"On-Star: Okay sir, can I have your name and identification number please");
Wait(2000);
format(string,sizeof(string),"%s enters in the information into their cellphone",sendername);
ProxDetector(15.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Wait(2000);
SendClientMessage(playerid,COLOR_WHITE,"On-Star: Okay sir, your car location is being uploaded to your phone.");
Wait(500);
SendClientMessage(playerid,COLOR_WHITE,"On-Star: If you wish to cancel the trace of your car, call this number again");
Wait(500);
SetPlayerCheckpoint(playerid,CarInfo[PlayerInfo], CarInfo[PlayerInfo], CarInfo[PlayerInfo], 5.0);
gPlayerCheckpointStatus = CHECKPOINT_CAR;
return 1;
}
else
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
Wait(1000);
SendClientMessage(playerid,COLOR_WHITE,"Your tracking of your vehicle has been automatically cancelled");
return 1;
}
}
else
{
    SendClientMessage(playerid,
}
}
else
{
GameTextForPlayer(playerid, "~w~You do not have a car to locate", 5000, 1);
}
}
return 1;
}*/

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha