MrBeNy 0 Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 Takze dalsi TuT sice to neni moje prace si ze je to dost good od koho uz nevim , tak jdem na to mezi new soupneme: new AFK[MAX_PLAYERS]; new Text:text1; new Text:text2; new Text:text3; new Text:text4; new Text:text5; do public GameModeInit() text1 = TextDrawCreate(1.0, 341.0, "_______"); text2 = TextDrawCreate(1.0, 3.0, "______"); text3 = TextDrawCreate(11.0, 426.0, "MrBeNy"); text4 = TextDrawCreate(146.0, 33.0, "www.goodest.ic.cz"); text5 = TextDrawCreate(337.0, 424.0, "Pro Navrat : /afk"); TextDrawUseBox(text1, true); TextDrawBoxColor(text1, 0x000000FF); TextDrawTextSize(text1, 639.0, 34.0); TextDrawUseBox(text2, true); TextDrawBoxColor(text2, 0x000000FF); TextDrawTextSize(text2, 639.0, 2.0); TextDrawAlignment(text1, 0); TextDrawAlignment(text2, 0); TextDrawBackgroundColor(text1, 0x000000FF); TextDrawBackgroundColor(text2, 0x000000FF); TextDrawFont(text1, 3); TextDrawLetterSize(text1, 3.2999, 56.1999); TextDrawFont(text2, 3); TextDrawLetterSize(text2, 1.0, 10.3); TextDrawColor(text1, 0x00000033); TextDrawColor(text2, 0x000000FF); TextDrawSetOutline(text1, 1); TextDrawSetOutline(text2, 1); TextDrawSetProportional(text1, true); TextDrawSetProportional(text2, true); TextDrawSetShadow(text1, 1); TextDrawSetShadow(text2, 1); TextDrawAlignment(text3, 0); TextDrawAlignment(text5, 0); TextDrawBackgroundColor(text3, 0xFF000099); TextDrawBackgroundColor(text5, 0x000000FF); TextDrawFont(text3, 1); TextDrawLetterSize(text3, 0.8999, 1.5); TextDrawFont(text5, 1); TextDrawLetterSize(text5, 0.8999, 1.6); TextDrawColor(text3, 0x000000FF); TextDrawColor(text5, 0xFFFFFFFF); TextDrawSetOutline(text3, 1); TextDrawSetOutline(text5, 1); TextDrawSetProportional(text3, true); TextDrawSetProportional(text5, true); TextDrawAlignment(text4, 0); TextDrawBackgroundColor(text4, 0xFF0000CC); TextDrawFont(text4, 1); TextDrawLetterSize(text4, 1.0, 2.0999); TextDrawColor(text4, 0x000000CC); TextDrawSetOutline(text4, 1); TextDrawSetProportional(text4, true); TextDrawSetShadow(text4, 1); do: public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(afk, 3,cmdtext); nekam dolu dcmd_afk(playerid,params[]) { #pragma unused params if(IsPlayerConnected(playerid)) { new playername[24], str[256]; if(AFK[playerid]==0) { GetPlayerName(playerid, playername, 24); format(str, 256, "[AFK] Hráč %s odešel na chvíli od PC!", playername, playerid); SendClientMessageToAll(COLOR_GREY, str); TogglePlayerControllable(playerid, 0); AFK[playerid] = 1; SendClientMessage(playerid,COLOR_SYSTEM,"[AFK] Pro návrat /afk"); TextDrawShowForPlayer(playerid, text1); TextDrawShowForPlayer(playerid, text2); TextDrawShowForPlayer(playerid, text3); TextDrawShowForPlayer(playerid, text4); TextDrawShowForPlayer(playerid, text5); }else{ GetPlayerName(playerid, playername, 24); format(str, 256, "[AFK] Hráč %s je zpět ve hře!", playername, playerid); SendClientMessageToAll(COLOR_GREY, str); TogglePlayerControllable(playerid, 1); AFK[playerid] = 0; TextDrawHideForPlayer(playerid, text1); TextDrawHideForPlayer(playerid, text2); TextDrawHideForPlayer(playerid, text3); TextDrawHideForPlayer(playerid, text4); TextDrawHideForPlayer(playerid, text5); } } return 1; } Link to comment Share on other sites More sharing options...
Guest Script_er Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 Lol običejnej afk sistem je lepší rofl Link to comment Share on other sites More sharing options...
ATomas 291 Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 nechtel by si delat tuty na tvoje vytvory? Link to comment Share on other sites More sharing options...
Guest Script_er Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 Athomas Newím zda to říkáš mně nebo jemu Link to comment Share on other sites More sharing options...
Mischino19 2 Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 tento je dobry http://pastebin.com/f7ce92d6a tam mas ze ked napises /Afk abo nieco take tak budes mat pred menom [AFK] narp.... [AFK]ho*no Link to comment Share on other sites More sharing options...
CjKing 0 Odesláno: 9. Srpen, 2009 Share Odesláno: 9. Srpen, 2009 podla mna kokotina kazdemu staci obycajny a este s reklamov .... Link to comment Share on other sites More sharing options...
Guest Script_er Odesláno: 10. Srpen, 2009 Share Odesláno: 10. Srpen, 2009 Zaprví Riddick je dobrá hra dobrej FILm za druhý ty si kokotina afk s reklamou kdo to kdy videl a mně stači když dá hráč /afk napíše to hráč ten a ten je afk pro navrat back atd... a myslím že to má každý Link to comment Share on other sites More sharing options...
Guest Odesláno: 10. Srpen, 2009 Share Odesláno: 10. Srpen, 2009 Pokud si vzpomínám, tak tenhle /afk systém mam od ATomase Link to comment Share on other sites More sharing options...
ATomas 291 Odesláno: 10. Srpen, 2009 Share Odesláno: 10. Srpen, 2009 Athomas Newím zda to říkáš mně nebo jemu to rikam benymu pravda je takovy ze on si nasel nejaky anglicky afk system s tema textdrawama tak mi to poslal at do hodil do deamxu tam sem to dal do deamxu a poupravil jak vite deamx dela chyby a poto meste pridal moje klasicke afk takze to afk je vlastnemoje a ty textderawy nejakyho anglicana Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now