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 pointsNero_3D Reputation above 100 points

Nero_3D Nero_3D is offline


Visitor Messages

Showing Visitor Messages 1 to 10 of 63
  1. Turn
    04/12/2014 05:56 PM
    So where exactly do I put my textdraws in the code you provided for me xd?

    And thank you very much!
  2. Rudy_
    24/10/2014 02:20 PM
    I've done something like you've told me..

    it's not working :L
  3. Rudy_
    23/10/2014 01:25 PM
    Ah, that's not what i wanted. But thanks alot
  4. Rudy_
    22/10/2014 11:13 AM
    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.
  5. 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);
  6. 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.
  7. Rudy_
    06/10/2014 03:36 PM
    so will this work?
  8. 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? :/
  9. Rudy_
    06/10/2014 02:06 PM
    Do you know how to get position and rotation of 'CreatePlayerObject => AttachObjectToPlayer' ?
    Thanks (: help meh :L
  10. iFarbod
    08/09/2014 02:43 PM
    Maths Master!


Total Posts
Visitor Messages
General Information
  • Last Activity: 19/12/2014 04:01 PM
  • Join Date: 12/06/2007

All times are GMT. The time now is 08:56 AM.

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