zaster Posted March 17, 2012 Report Share Posted March 17, 2012 Punem asta Sus in Capul FileScriptului Sau GM-uluinew Locked[MAX_PLAYERS]; Aici Sunt Cateva Clase De Playeri public OnGameModeInit() { AddPlayerClass(221, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 0 - Nau Parola AddPlayerClass(212, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 1 - Nau Parola AddPlayerClass(199, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 2 -Are Parola return 1; } Aici se definesc Skinurile Private si alea care nus private public OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0: Locked[playerid] = 0; //UNLOCKED case 1: Locked[playerid] = 0; //UNLOCKED case 2: Locked[playerid] = 1; //LOCKED } return 1; } Aici Este Cand Playeru A Loat SKinu Cu Parola Nu-l Va lasa Sa se Spawneze! public OnPlayerRequestSpawn(playerid) { if(Locked[playerid]) return 0; //Opreste Playeru Sa Fie Spawnat =D return 1; } Aici este cand Ai Ales Skin-ul tau si trebuie sai bagi parola! public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/unlock YOUR_PASS"))//Unde Este 'YOU_PASS' Pui Parola Care Vrei TU De Ex 'This Is My Skin' { Locked[playerid] = 0; SendClientMessage(playerid, -1, "Skins unlocked!"); } return 1; }Tutorial By Zaster Quote Link to comment Share on other sites More sharing options...
Rimmon Posted March 17, 2012 Report Share Posted March 17, 2012 Este un toturial bun 4/5 e bun pentru serverele RP ca la stunt nu vad care ar fi rostu acestui toturial Quote Massari e curva mea Link to comment Share on other sites More sharing options...
IstuntmanI Posted March 17, 2012 Report Share Posted March 17, 2012 Cand scrii parola la comanda aia, deblocheaza, corect, dar cand schimbi skinul pe altul se schimba pe blocat/deblocat, ca e setat acolo, vai de scriptingul tau. Nici n-ai testat.Limba romana praf, scripting praf, esti 'zastru ! Quote Link to comment Share on other sites More sharing options...
[RMD]MaTriX Posted March 17, 2012 Report Share Posted March 17, 2012 Uoau, frumos bravo. Chiar aveam nevoie de asa ceva ;) Quote Link to comment Share on other sites More sharing options...
Rimmon Posted March 17, 2012 Report Share Posted March 17, 2012 Eu nici nu lam testat nu stiu daca merge dar dupa ce o spus stuntman nu cred ca meriti chiar 4/5 Quote Massari e curva mea Link to comment Share on other sites More sharing options...
CokeJR. Posted March 18, 2012 Report Share Posted March 18, 2012 Praf tutorialu incearca sa descri corect in Limba romana , pentru ca ce ai scris tu acolo numai chinezi pot intelege 4/10 Quote Link to comment Share on other sites More sharing options...
[RMD]MaTriX Posted March 18, 2012 Report Share Posted March 18, 2012 Praf tutorialu incearca sa descri corect in Limba romana , pentru ca ce ai scris tu acolo numai chinezi pot intelege 4/10Daca nu ai inteles tu nu inseamna ca nimeni nu intelege Quote Link to comment Share on other sites More sharing options...
Xtrem_Maddox Posted December 3, 2012 Report Share Posted December 3, 2012 Imi pare rau dar nu merge..C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(6) : error 031: unknown directiveC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : error 017: undefined symbol "Locked"C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : error 029: invalid expression, assumed zeroC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : warning 215: expression has no effectC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 014: invalid statement; not in switchC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : warning 215: expression has no effectC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 001: expected token: ";", but found ":"C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 029: invalid expression, assumed zeroC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase7 Errors. Quote Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted December 3, 2012 Report Share Posted December 3, 2012 Imi pare rau dar nu merge..C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(6) : error 031: unknown directiveC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : error 017: undefined symbol "Locked"C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : error 029: invalid expression, assumed zeroC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(53) : warning 215: expression has no effectC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 014: invalid statement; not in switchC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : warning 215: expression has no effectC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 001: expected token: ";", but found ":"C:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : error 029: invalid expression, assumed zeroC:\Users\RoBy41\Desktop\Crafting Table\Server 2\filterscripts\lockedskin.pwn(54) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase7 Errors.Ti l-am facut eu filterscript.Pentru download click aici ! Quote Link to comment Share on other sites More sharing options...
KiLLeR1122 Posted December 28, 2012 Report Share Posted December 28, 2012 Buna treaba ca le-ai facut filescript multi nu inteleg.5/5 Quote Te-am ajutat cu ceva? Da-mi un POZITIV ! Link to comment Share on other sites More sharing options...
Guest Rock Posted March 18, 2013 Report Share Posted March 18, 2013 bYaLeX" post="135775" timestamp="1363605838"]Poti reincarca filerscriptu pe alt site de upload te rog ?Linku nu merge, si chiar as vrea accest FS..Dupa cum vezi asta e un tutorial si nu a mai fost postat in el din decembrie. Quote Link to comment Share on other sites More sharing options...
Guest Rock Posted March 18, 2013 Report Share Posted March 18, 2013 bYaLeX" post="135810" timestamp="1363625085"]Stiu, dar as avea mare nevoie de el...Se poate..?Ce script visezi ma? Nu stii sa citesti?Asta e tutorial! Te invata cum sa faci, nu til da mura in gura! 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.