zaster Posted August 15, 2011 Report Share Posted August 15, 2011 Salut am hotarat sa fac un meniu cu skinuri apesi pe skin si ati seteaza skinul eu am bagat doar 6 daca mai vreti voi va bagati [pawn]new Menu:menu;[/pawn][pawn]menu = CreateMenu("Skinuri", 1, 50.0, 180.0, 200.0, 200.0);AddMenuItem(menu, 0, "skin 293");AddMenuItem(menu, 0, "skin 19");AddMenuItem(menu, 0, "skin 39");AddMenuItem(menu, 0, "skin 29");AddMenuItem(menu, 0, "skin 100");AddMenuItem(menu, 0, "skin 101");[/pawn][pawn]public OnPlayerSelectedMenuRow(playerid, row){ new Menu:current; current = GetPlayerMenu(playerid); if(current == menu) { switch(row) { case 0:{ //Row 1 codeSetPlayerSkin(skinid,293); } case 1:{//Row 2 codeSetPlayerSkin(skinid,19); } case 2:{//Row 3 codeSetPlayerSkin(skinid,39); } case 3:{//Row 4 codeSetPlayerSkin(skinid,29); } case 4:{//Row 5 codeSetPlayerSkin(skinid,100); } case 5:{//Row 6 codeSetPlayerSkin(skinid,101); } } } return 1;}//You will have to sort the indentation out yourself[/pawn][pawn]public OnPlayerSelectedMenuRow(playerid, row){ new Menu:current; current = GetPlayerMenu(playerid); if(current == menu) { switch(row) { case 0:{ //Row 1 codeSetPlayerSkin(skinid,293); } case 1:{//Row 2 codeSetPlayerSkin(skinid,19); } case 2:{//Row 3 codeSetPlayerSkin(skinid,39); } case 3:{//Row 4 codeSetPlayerSkin(skinid,29); } case 4:{//Row 5 codeSetPlayerSkin(skinid,100); } case 5:{//Row 6 codeSetPlayerSkin(skinid,101); } } } return 1;}//You will have to sort the indentation out yourself[/pawn]sper ca vam ajutat Quote Link to comment Share on other sites More sharing options...
IstuntmanI Posted August 15, 2011 Report Share Posted August 15, 2011 2/5, MUUULT prea simplu. Quote Link to comment Share on other sites More sharing options...
Ryder_RO Posted August 15, 2011 Report Share Posted August 15, 2011 wooow 6 skinuri ce dificultate pe tine )puteai si tu sa faci cu cele 299 de skinuri un FS si sa aleaga Quote Link to comment Share on other sites More sharing options...
zaster Posted August 15, 2011 Author Report Share Posted August 15, 2011 wooow 6 skinuri ce dificultate pe tine )puteai si tu sa faci cu cele 299 de skinuri un FS si sa aleagada mah usor de zis dar este greu de acut =)) ma doare mana ) Quote Link to comment Share on other sites More sharing options...
Guest RockStar Posted August 15, 2011 Report Share Posted August 15, 2011 Ma credeti ca eu nu stiu sa fac un meniu ? )Nu am facut niciodata xDDe cand te-am vazut prima oara pe forum..numai fs-uri idioate postezi ) Quote Link to comment Share on other sites More sharing options...
zaster Posted August 15, 2011 Author Report Share Posted August 15, 2011 Ma credeti ca eu nu stiu sa fac un meniu ? )Nu am facut niciodata xDDe cand te-am vazut prima oara pe forum..numai fs-uri idioate postezi )Ha ha Ha ..... Quote Link to comment Share on other sites More sharing options...
[.E.m.O.]K1DDU Posted August 15, 2011 Report Share Posted August 15, 2011 Astia nu isi bat joc de tine....Dar ei zic adevaru, nu mai posta chesti care le faci in 2-3 minute ma...Ai postat /new ala l-ai facut intr-un minut...Si alte chesti, posteaza si tu ceva mai mare si interesant nu zic cu parere de rau!Bravo 3/5 Quote F*ck everybody who want and who try to judge me for who I am, b*star*s ! Follow me on: Facebook.com TSU.co Twitter.com Instagram.com Youtube.com Google+ Link to comment Share on other sites More sharing options...
[email protected] Posted August 15, 2011 Report Share Posted August 15, 2011 asta ce gaseste intrun gm posteaza aici lasate nu avem nevoie de tine 0/10 :wink: Quote Link to comment Share on other sites More sharing options...
LosTSouL Posted August 15, 2011 Report Share Posted August 15, 2011 Idem Rock , niciodata nu m`am chinuit sa invat cum sa faci un " meniu ". Restu' le stiu..aproape toate..Sincer este mult prea simplu : [glow=red,2,300]1/10[/glow] Quote Link to comment Share on other sites More sharing options...
DJ_Dany Posted August 15, 2011 Report Share Posted August 15, 2011 Trebuia sa faci toate skinurile+poate le puneai si tu un nume cevaSkin Model Name: x Skin Name/Type: xAdica sa vina Skin0>CJ Skin1>The TruthSi tot asa.nu dau nota Quote Link to comment Share on other sites More sharing options...
[RDE]Secret Posted August 16, 2011 Report Share Posted August 16, 2011 De cand te-am vazut prima oara pe forum..numai fs-uri idioate postezi )Idem..2/5Ar fi bine k in timp sa mai bagi skinuri chiar si 100 de skinuri ar fi destul de bine Quote youtube.com/secretofficial1 < - SECRET CHANNEL ! Link to comment Share on other sites More sharing options...
XpLoD Posted August 16, 2011 Report Share Posted August 16, 2011 bine ca n-ai pus un singur Skin ) Quote Link to comment Share on other sites More sharing options...
yourcrys Posted August 28, 2011 Report Share Posted August 28, 2011 Foarte simplu, decat sa pui chinui acele 6 skinuri mai bine faceai un dialog input, playerul scria skinul pe care il dorea si gata, asa mai convenabil e o comanda, ex /skin 18 fiindca asa pana deschide meniul.....alege skinul......in fine bun si asa decat deloc, 2/5 un simplu dialog(asa faceam si eu, dar GZS Stuntman m-a atentionat si ....)Nota:0,5/5 Quote ~~~~~~==~~Respect~~==~~ Link to comment Share on other sites More sharing options...
xxSPEEDYxx Posted August 28, 2011 Report Share Posted August 28, 2011 omg ce simplu...mai bn nici nu te chinuiai ..0/5 Quote Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
IstuntmanI Posted August 28, 2011 Report Share Posted August 28, 2011 Foarte simplu, decat sa pui chinui acele 6 skinuri mai bine faceai un dialog input, playerul scria skinul pe care il dorea si gata, asa mai convenabil e o comanda, ex /skin 18 fiindca asa pana deschide meniul.....alege skinul......in fine bun si asa decat deloc, 2/5 un simplu dialog(asa faceam si eu, dar GZS Stuntman m-a atentionat si ....)Nota:0,5/5^^[pawn]CMD:skin( playerid, params[ ] ){ if( sscanf( params, "i", params[ 0 ] ) ) return SendClientMessage( playerid, -1, "USAGE: /skin [ SkinID ]" ); if( params[ 0 ] < 0 || params[ 0 ] > 299 || IsInvalidSkin( params[ 0 ] ) ) return SendClientMessage( playerid, -1, "ERROR: This skin doesn't exist !" ); SetPlayerSkin( playerid, params[ 0 ] ); return 1;}//Undeva in scriptIsInvalidSkin( skinid ){ #define MAX_BAD_SKINS 14 new InSkin[ MAX_BAD_SKINS ] = { 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289 }; for( new i = 0; i < MAX_BAD_SKINS; i++ ) if( skinid == InSkin[ i ] ) return true; return 0;}[/pawn]Mult mai scurt + are toate skinurile. Quote Link to comment Share on other sites More sharing options...
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.