Error with creating object (for sale sign from rc6)
#1

I noticed last night i cannot create the object 19471
which is the For Sale sign added in 0.3e RC6


I get an opcode error in that chat box/
has anyone else had the problem?
Reply
#2

Do other things from 0.3e work?
Reply
#3

yes other things from 0.3e work

i will try to reinstall the client

heres how i create the object

pawn Код:
YCMD:cobj(playerid, params[], help)
{
    //#pragma unused params
    if (help)   {SendClientMessage(playerid, 0xFF9933FF, "/cobj : create an obj");}
    else       
    {
        new modelid         = strval(params),
            Float:x,
            Float:y,
            Float:z,
            Float:rx        = 0.0,
            Float:ry        = 0.0,
            Float:rz        = 0.0,
            objId;
        GetPlayerPos(playerid,x,y,z);
       
        //objId = CreateDynamicObject(modelid, x, y, z, rx, ry, rz);
        objId = CreateObject(modelid, x + 1, y, z, rx, ry, rz);
        new strOut[128];
        format(strOut,128,"ObjID (%i) Created:",objId);
        SendClientMessage(playerid, 0xFF9933FF, strOut);
    }
    return 1;
}
i will use the streamer once i get it working correctly,
im making a dynamic obj system for my mode.

thanks for the replys
ill edit this if the client install works
Reply
#4

the reinstall of the client did not help

i still get this in the chat box when trying to create that object.

Код:
Warning(opcode 0x107): Exception 0xC0000005 at 0x59F8B4
Reply
#5

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
The only thing I can think of is this:

"ObjID (%i) Created:"

I don't even use "%i", I've always used "%d" (Not sure why, and I'm not sure what the difference is)

Try that, it might be a chatbox issue rather than an object issue.
i tried that, same result. The object is not created either.

I just realized i can only create objects from 0.3e RC4 and lower.
Reply
#6

Im still having this issue,

I have re installed the client using all 3 mirrors.
I checked the samp.ide and the defs are in the file,

I cannot see any object added after 0.3e RC4,
Iv even looked using the samp MAP EDITOR.

anyone know anything else i can check?
Reply
#7

I still have not tracked this problem down,

I have no ideal how to solve this one....
any help would be great.
Reply
#8

Go to: C:\Users\<username>\AppData\Local\VirtualStore\Pro gram Files (x86)\Rockstar Games
Delete the GTA SA folder if there's one in there.
Reply
#9

Quote:
Originally Posted by Vince
Посмотреть сообщение
Go to: C:\Users\<username>\AppData\Local\VirtualStore\Pro gram Files (x86)\Rockstar Games
Delete the GTA SA folder if there's one in there.
That worked!! thank you man iv been trying to fix that for days now!!
worth some rep in my eyes,


thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)