[POMOC]Pitanje kako staviti....

Započeo Matrix_Green, Maj 31, 2011, 14:56:34 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju korisitm:moj gm od 0
detaljan opis problema:Ovako imam pitanje kako u ovu komandu staviti kordinate na kojem mjestu mogu to samo koristiti
if (!strcmp("/vbuy", cmdtext, true))
        {
            if (GetOwnedVehicleID(playerid) != INVALID_VEHICLE_ID) return SendClientMessage(playerid, RED, "You already own a vehicle!");
            if (GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid, RED, "You must not be in an interior"); // To prevent screw ups
                GetPlayerPos(playerid, OrgX[playerid], OrgY[playerid], OrgZ[playerid]);
            GetPlayerFacingAngle(playerid, OrgA[playerid]);
            new Float:X,Float:Y;
            new color1 = CarColor[playerid][0];
                new color2 = CarColor[playerid][1];
            X = VEHSHOW_X;
            Y = VEHSHOW_Y;
                TogglePlayerControllable(playerid, false);
                X -= (10.0 * floatsin(-VEHSHOW_A+90, degrees));
                Y -= (10.0 * floatcos(-VEHSHOW_A+90, degrees));
                SetPlayerCameraPos(playerid, X, Y, VEHSHOW_Z);
                X += (10.0 * floatsin(-VEHSHOW_A+90, degrees));
                Y += (10.0 * floatcos(-VEHSHOW_A+90, degrees));
                SetPlayerCameraLookAt(playerid, X, Y, VEHSHOW_Z);
                SetPlayerVirtualWorld(playerid, playerid);
                ShopCar[playerid] = CreateVehicle(CarModels[0], VEHSHOW_X, VEHSHOW_Y, VEHSHOW_Z, 0.0, color1, color2, 6000000);
                SetVehicleVirtualWorld(ShopCar[playerid], playerid);
                PutPlayerInVehicle(playerid, ShopCar[playerid], 0);
                TogglePlayerControllable(playerid, false);
                CarShopping[playerid] = true;
                SetTimerEx("BrowseCars", 300, 0, "d", playerid);
                //SetTimerEx("FreezeCar", 100, 0, "d", playerid);

Slika video://
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>

IsPlayerInRangeOfPoint : trazi na wikiju!

oke hvala ti
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>