[FilterScript] Advance SAMP-Attachment Filterscript **Sorry for <Dini>
#41

Great work.

Excellence in your fs. Brilliant!
Reply
#42

Hey Help my Please!
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)


become Error:
error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#43

Quote:
Originally Posted by [IND]Crazy
Посмотреть сообщение
why if i click slot 1 and other dialog not showed ?
go to your mSelection include and edit "mS_CUSTOM_MAX_ITEMS" to a higher value like 500.
Reply
#44

Quote:
Originally Posted by Enrico_Matthes
Посмотреть сообщение
Hey Help my Please!
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)


become Error:
error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Quote:
Originally Posted by VenomMancer
Посмотреть сообщение
Change All modelid2 to modelid..

pawn Код:
public OnPlayerModelSelectionEx(playerid, response, extraid, modelid)
{
    if(extraid==DIALOG_ATTACH_MODEL_SELECTION)
    {
        if(!response)
        {   ShowPlayerDialog(playerid,DIALOG_ATTACH_OBJECT_SELECTION,DIALOG_STYLE_LIST,"Player Objects/Attachment: (Select Object Path)","Path:1 :: "COL_GREY"Server Objects Menu\n"COL_WHITE"Path:2 :: "COL_GREY"Custom Object","Next(>>)","Back(<<)");    }
        if(response)
        {
            if(GetPVarInt(playerid, "AttachmentUsed") == 1) EditAttachedObject(playerid, modelid);
            else
            {
                SetPVarInt(playerid, "AttachmentModelSel", modelid);
                new string[256+1];
                new dialog[500];
                for(new x;x<sizeof(AttachmentBones);x++)
                {
                    format(string, sizeof(string), "Bone:%s\n", AttachmentBones[x]);
                    strcat(dialog,string);
                }
                ShowPlayerDialog(playerid, DIALOG_ATTACH_BONE_SELECTION, DIALOG_STYLE_LIST, \
                "{FF0000}Attachment Modification - Bone Selection", dialog, "Select", "Cancel");
            }//else DeletePVar(playerid, "AttachmentIndexSel");
        }
    }
    return 1;
}
this is your answer

Quote:
Originally Posted by [IND]Crazy
Посмотреть сообщение
why if i click slot 1 and other dialog not showed ?
Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
go to your mSelection include and edit "mS_CUSTOM_MAX_ITEMS" to a higher value like 500.

Код:
#define mS_CUSTOM_MAX_ITEMS		500
this is mine one i changed it
if you can't do it pm me
Reply
#45

it isn't works
please tell me how to add this Filterscript...
Reply
#46

Quote:
Originally Posted by WhiteAngels
Посмотреть сообщение
it isn't works
please tell me how to add this Filterscript...
Get this file and paste it in "filterscripts" folder and then compile.
No go back and open "server.cfg" and add the file name in "filterscripts" section.
Now run "server.exe" and thats it.
Reply
#47

Quote:
Originally Posted by Excel™
Посмотреть сообщение
Get this file and paste it in "filterscripts" folder and then compile.
No go back and open "server.cfg" and add the file name in "filterscripts" section.
Now run "server.exe" and thats it.
Not Working .
When i Click Slot 1 until Slot 9 other dialog is not shown



*SorryForMyBadEnglish
Reply
#48

Quote:
Originally Posted by WhiteAngels
Посмотреть сообщение
Not Working .
When i Click Slot 1 until Slot 9 other dialog is not shown



*SorryForMyBadEnglish
I can't understand your translate .. ?

EDIT: fixed the unsaving of player objects. Actually it was saving the data but i mistakenly plotted ''!'' with dini_Exists in on player spawn callback, due to which the objects didn't loaded.
Reply
#49

I installed everything like you said so in your post, But I get this compile error?

D:\Santos - Roleplay\filterscripts\toys.pwn(78 : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
D:\Santos - Roleplay\filterscripts\toys.pwn(792) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
D:\Santos - Roleplay\filterscripts\toys.pwn(793) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "mZoom"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Zrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Yrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Xrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "modelindex"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#50

Quote:
Originally Posted by Newchie
View Post
I installed everything like you said so in your post, But I get this compile error?

D:\Santos - Roleplay\filterscripts\toys.pwn(78 : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
D:\Santos - Roleplay\filterscripts\toys.pwn(792) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
D:\Santos - Roleplay\filterscripts\toys.pwn(793) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "mZoom"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Zrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Yrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "Xrot"
D:\Santos - Roleplay\filterscripts\toys.pwn(785) : warning 203: symbol is never used: "modelindex"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Check your includes, or samp version.
Reply
#51

I have problem when i want to load the attachmenst on y_ini.
Look this :
https://sampforum.blast.hk/showthread.php?tid=512931

Help me guys
Reply
#52

Quote:
Originally Posted by $$inSane
View Post
EPIC Work...
You made mistake in OnPlayerSpawn callback. You actully wrote if(bini_exists(file)) return 1; which actually resists saving system.
Thnx for the query. Fixed it..

Check the Pastebin links....
Reply
#53

Good job.
Reply
#54

Good Job !
Reply
#55

it's Not saved anyway
Reply
#56

it work now thank you
but why this mask don have

http://farm9.staticflickr.com/8155/6...8e727f7f_b.jpg

when i try use this mask id 19607 it show question mark logo
how to fix that ?

thank you

sorry for my bad english
Reply
#57

Quote:
Originally Posted by mohdapiz
View Post
it work now thank you
but why this mask don have

http://farm9.staticflickr.com/8155/6...8e727f7f_b.jpg

when i try use this mask id 19607 it show question mark logo
how to fix that ?

thank you

sorry for my bad english
Unfortunately, that's not sa-mp object

The mask image you show is a part of Custom IMG file objects published and featured on the server i play (GamerX) where it's originally from GTA IV.
To get it working, you need the custom.img file installed, but it will ONLY CAN BE SEEN BY YOURSELF and another player that use the mod.

You might want to chose another mask objects that can be found at https://sampwiki.blast.hk/wiki/Samp_objects
Reply
#58

Great Work.
Reply
#59

Nice Job !!!
Reply
#60

Anyone can update to y_ini ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)