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


Visitor Messages

Showing Visitor Messages 1 to 10 of 59
  1. Rudy_
    21/10/2014 04:52 PM

    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;
            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);
  2. Rudy_
    06/10/2014 04:28 PM
    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.
  3. Rudy_
    06/10/2014 03:36 PM
    so will this work?
  4. Rudy_
    06/10/2014 03:22 PM
    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? :/
  5. Rudy_
    06/10/2014 02:06 PM
    Do you know how to get position and rotation of 'CreatePlayerObject => AttachObjectToPlayer' ?
    Thanks (: help meh :L
  6. iFarbod
    08/09/2014 02:43 PM
    Maths Master!
  7. adri1
    22/06/2014 02:30 PM
    Hi Nero you do have Skype? I need contact with you.
  8. Gamer_Z
    02/01/2014 01:13 PM
    Gamer_Z + some own knowledge
  9. Hansrutger
    27/12/2013 06:05 PM
    Thank you so much for explaining all that! (was out of rep hehe)
  10. FireWarrior101
    14/12/2013 09:28 AM
    do u have skype so u can help me ?


Total Posts
Visitor Messages
General Information
  • Last Activity: 21/10/2014 10:39 PM
  • Join Date: 12/06/2007

All times are GMT. The time now is 12:05 AM.

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