[Pomoc] /v park

Započeo [BURPG] Wistaa, Maj 15, 2011, 22:11:47 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Editujem: Raven's

Opis problema: Nekada kada neko uradi /v park auto mu bude army sve dok neki admin ne restartuje srv,kako to da popravim i do čega je?
I kada jednom se to desi onda kada i dalje svi rade to isto im bude

Evo i dio skripte: Mozda je tu neka greška

               }
       else if(strcmp(x_nr,"park",true) == 0)
       {
               SendClientMessage(playerid, 0xB35959AA, "Parkirao/la si+popravio/la vlastito vozilo i platio/la 5000$.");
       SafeGivePlayerMoney(playerid, -5000);
new Float:x,Float:y,Float:z;
new Float:a;
new carid;
new getcarid;
if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { carid = PlayerInfo[playerid][pPcarkey]; }
else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { carid = PlayerInfo[playerid][pPcarkey2]; }
else { return 1; }
getcarid = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, playername, sizeof(playername));
GetVehiclePos(carid, x, y, z);
//GetPlayerFacingAngle(playerid, a);
GetVehicleZAngle(carid, a);
if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1)
{
  if(PlayerInfo[playerid][pPcarkey] == 999  && PlayerInfo[playerid][pPcarkey2] == 999)
{
SendClientMessage(playerid, COLOR_GREY, "You don't own a car.");
return 1;
}
if(getcarid == carid)
{
CarInfo[carid][cLocationx] = x;
CarInfo[carid][cLocationy] = y;
CarInfo[carid][cLocationz] = z;
CarInfo[carid][cAngle] = a;
format(string, sizeof(string), "~n~ You have parked your vehicle in this location. ~n~");
GameTextForPlayer(playerid, "You have parked your vehicle in this position. It will respawn here.", 10000, 3);
OnPropUpdate(4);
OnPlayerUpdateEx(playerid);
DestroyVehicle(carid);
CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
                       if(CarInfo[carid][cPaintjob] != 999)
{
ChangeVehiclePaintjob(carid, CarInfo[carid][cPaintjob]);
}
SetVehicleVirtualWorld(carid, CarInfo[carid][cVirWorld]);
SetVehicleModifications(carid);
TogglePlayerControllable(playerid, 1);
PutPlayerInVehicle(playerid, carid, 0);
return 1;
  }
}
Poslednja Izmena: Maj 15, 2011, 22:16:19 POSLE PODNE od [AG] BloodMaster




Balkan Ulice RPG opis servera: Click



-Tutorial za mijesanje ID-ova na vozilima: Click

Greska ti je u svim vozilima  ;D moras ID da podesis tacan za sva vozila i za OWNERSHIP!! a vjerujem da ce ti to oduzeti 10 dana rada xD

Balkan United Community and Hosting for YOU


Uskoro Balkan United Roleplay
Kvalitetan i Povoljan Hosting www.bug-hosting.com
Balkan United Community www.bug-hq.info
Uskoro Prijave za Gmodove,GameMastere,Lidere za RPG
Za Ostale Informacije Kontaktirajte [email protected]


Proverite Zasto Smo Najbolji

Pa sve je uredu jedno vrijeme ali npr gotovo svako 5-6 sati doÄ'e tako




Balkan Ulice RPG opis servera: Click



-Tutorial za mijesanje ID-ova na vozilima: Click