- 0
Tip Pet
-
Similar Content
-
- 5 replies
- 1,090 views
-
- 1 reply
- 294 views
-
- 6 answers
- 539 views
-
- 1 reply
- 605 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
caltabos
Salut, imi poate spune cineva cum sa fac un sisitem sa iti alegi pet-ul!
Eu am facut ceva, dar nu merge:
#define DIALOG_PETTYPE 365 ///////////////////////////////////////////////// } CMD:pett(playerid, params[]) return cmd:pettype(playerid, params); CMD:pettype(playerid, params[]) { new string[128]; if(PlayerInfo[playerid][pPet] == 0) return SCM(playerid, -1, "Nu detii un pet!"); ShowPlayerDialog(playerid, DIALOG_PETTYPE, DIALOG_STYLE_TABLIST, "Pet Type", string, "Select", "Cancel"); strcat(string); return 1; } ////////////////////////////////////////////////// } case DIALOG_PETTYPE: { if(!response) return 1; switch(listitem) { case 0: { SetPlayerAttachedObject(playerid, 6, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 ); } case 1: { SetPlayerAttachedObject(playerid, 7, 1371, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 ); } case 2: { SetPlayerAttachedObject(playerid, 8, 1608, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 ); } }
Sau macar editati scriptul meu sa fie bun! sau macar un exemplu
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.