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 67
  1. xAzKingx
    24/01/2015 11:20 PM
    Can i have your skype please?
  2. Airman123
    12/01/2015 03:19 PM
    K now it works and not crashes the server.
    Btw now it sends blank message in the text when i write "$" in the chat.
    Anything else to do? So it shows dollar sign not blank msg.
    EDIT: "$" Sign shows only in chat when i type intergers with them, like $50.
    Not shows the sign when i do lo$$ :P
  3. Airman123
    12/01/2015 03:07 PM
    Thanks for helping me.. but the code u gave crashes the server when..
    there is "$" sign in the text, without "loc"
    And also crashed when i write "Hello im in $" without "loc"
    Any help? it doesnt show anything in serverlog.txt.
    Just crashes
  4. Kimossab
    05/01/2015 12:33 PM
    if you would use sizeof then it would be wrong. Imagine a situation where you declare new reason[128]; and you just use like 20 characters (end of string included). The character in reason[19] will be '\0'. The strlen will deliver 19, sizeof will deliver 128. So basically reason[strlen(reason) -1] will be the last non '\0' character of the string. So I made a little mistake in there, because it's strlen(reason) -1 and not -2.
  5. 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!
  6. Rudy_
    24/10/2014 02:20 PM
    I've done something like you've told me..

    it's not working :L
  7. Rudy_
    23/10/2014 01:25 PM
    Ah, that's not what i wanted. But thanks alot
  8. 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.
  9. 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);
  10. 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.


Total Posts
Visitor Messages
General Information
  • Last Activity: 29/01/2015 06:48 PM
  • Join Date: 12/06/2007

All times are GMT. The time now is 10:44 PM.

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