problem, streamer!!!
#1

I just was opening my server as it was working but it gives that:
Quote:

Error: Function not registered: 'EditAttachedObject'

i updated my streamer again and compiled again, Nothing Work!, HELP
Reply
#2

Whats the code in the GM for that function?
Reply
#3

Quote:

public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
SetPlayerAttachedObject(playerid, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ);
PlayerInfo[playerid][pToyX][index] = fOffsetX;
PlayerInfo[playerid][pToyY][index] = fOffsetY;
PlayerInfo[playerid][pToyZ][index] = fOffsetZ;
PlayerInfo[playerid][pToyRX][index] = fRotX;
PlayerInfo[playerid][pToyRY][index] = fRotY;
PlayerInfo[playerid][pToyRZ][index] = fRotZ;
PlayerInfo[playerid][pToySX][index] = fScaleX;
PlayerInfo[playerid][pToySY][index] = fScaleY;
PlayerInfo[playerid][pToySZ][index] = fScaleZ;
return 1;
}

That?
Reply
#4

Yes, but can you put it into "pawn" brakets instead of "code" brackets?
Reply
#5

pawn Код:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
    SetPlayerAttachedObject(playerid, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ);
    PlayerInfo[playerid][pToyX][index] = fOffsetX;
    PlayerInfo[playerid][pToyY][index] = fOffsetY;
    PlayerInfo[playerid][pToyZ][index] = fOffsetZ;
    PlayerInfo[playerid][pToyRX][index] = fRotX;
    PlayerInfo[playerid][pToyRY][index] = fRotY;
    PlayerInfo[playerid][pToyRZ][index] = fRotZ;
    PlayerInfo[playerid][pToySX][index] = fScaleX;
    PlayerInfo[playerid][pToySY][index] = fScaleY;
    PlayerInfo[playerid][pToySZ][index] = fScaleZ;
    return 1;
}
Reply
#6

I gotta go now, Help me and i will rep you tommorrow, good night!
Reply
#7

You need to have all includes UPDATED
Reply
#8

sorry but 'Are you idiot'? They are already updated, Read up
Still this error, PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Quote:

Error: Function not registered: 'EditAttachedObject'

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)