SA-MP Forums

Go Back   SA-MP Forums > Members List

Nero_3D Reputation above 100 pointsNero_3D Reputation above 100 pointsNero_3D Reputation above 100 pointsNero_3D Reputation above 100 points

Nero_3D Nero_3D is offline

High-roller

Visitor Messages

Showing Visitor Messages 1 to 10 of 62
  1. Rudy_
    24/10/2014 02:20 PM
    Rudy_
    I've done something like you've told me..

    http://forum.sa-mp.com/showthread.php?t=543081

    it's not working :L
  2. Rudy_
    23/10/2014 01:25 PM
    Rudy_
    Ah, that's not what i wanted. But thanks alot
  3. Rudy_
    22/10/2014 11:13 AM
    Rudy_
    but here i have if x is not = to playerid and oattached[playerid] = 1) If x is not that <- show it to x
    if(x != playerid && (oattached[playerid]))

    And i want to move the object continuesly to the position of playerid and oattached[playerid] = 1..
    Because the object that is attached to playerid and oattached[playerid] (the same player), see's the object but not others, So i want to create a fake object for everyone else but not for playerid.
  4. Rudy_
    21/10/2014 04:52 PM
    Rudy_
    Hello.

    Will this create a fake object for players who is x and not for who is not x
    pawn Code:
    stock PlayerToShowFor(playerid)
    {
        new object123[MAX_PLAYERS];
        new playersToShowFor[MAX_PLAYERS];
        for(new ii = 0; ii < sizeof(PropPositions); ii++)
        {
            for(new x = 0, i = 0; x < MAX_PLAYERS; x++)
            {
                if(x != playerid && (oattached[playerid]))
                {
                    playersToShowFor[i] = x;
                    i++;
                }
            }
            object123[playerid] = CreateDynamicObjectEx(PropPositions[ii][ModelID], PropPositions[ii][Offset][0], PropPositions[ii][Offset][1], PropPositions[ii][Offset][2], PropPositions[ii][Rot][0], PropPositions[ii][Rot][1], PropPositions[ii][Rot][2], -1, -1, playersToShowFor);
            GetPlayerFacingAngle(playerid, f1fa);
            GetObjectRot(object123[playerid], f1rx, f1ry, f1rz);
            SetObjectRot(object123[playerid], f1rx, f1ry, f1fa);
            GetPlayerPos(playerid, f1x, f1y, f1z);
            SetObjectPos(object123[playerid], f1x, f1y, f1z);
        }
    }
  5. Rudy_
    06/10/2014 04:28 PM
    Rudy_
    It would be moving to the position where the player object 'x' is moving (Get the attached object pos and update the CreateObject or CreateDynamicObject to that pos). And it'll be CreateObject as Attached object can't be detected with OnPlayerWeaponShot.
  6. Rudy_
    06/10/2014 03:36 PM
    Rudy_
    so will this work?
    http://pastebin.com/gAedKX8c
  7. Rudy_
    06/10/2014 03:22 PM
    Rudy_
    No, i don't want to attach the nearest object.. lol
    I created an object and attached it to a player 'x'.. No whoever joins, i want to create the same object for the player who joined and Set it's position to the player 'x' object position (Because player x object is invisible)..
    I hope you understood now? :/
  8. Rudy_
    06/10/2014 02:06 PM
    Rudy_
    Do you know how to get position and rotation of 'CreatePlayerObject => AttachObjectToPlayer' ?
    Thanks (: help meh :L
  9. iFarbod
    08/09/2014 02:43 PM
    iFarbod
    Maths Master!
  10. adri1
    22/06/2014 02:30 PM
    adri1
    Hi Nero you do have Skype? I need contact with you.

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 27/11/2014 04:26 PM
  • Join Date: 12/06/2007

All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.