Fabricator 0 Odesláno: 6. Březen, 2013 Share Odesláno: 6. Březen, 2013 Zdravim Afk system od Ewweho je chyný ked dam na servery /afk a stlacim Tam mám tam že [AFK]Kura ale ked dam zvo /afk a ked chcem hrat tak potom mám meno že ]Kura tu je cod: CMD:afk(playerid,params[]) { new Name[32],string[128]; GetPlayerName(playerid, Name, 32); if(GetPVarInt(playerid,"AFK") == 0) { strins(Name, "[AFK]", 0); SetPlayerName(playerid, Name); /*----------------------------*/ format(string,128,"Hráč %s je nyní AFK (\"%s\").",Name,params); SendClientMessageToAll(-1,string); /*-----------------------------*/ TogglePlayerControllable(playerid,false); SetPVarInt(playerid,"AFK",1); }else{ strdel(Name, 0, 4); SetPlayerName(playerid,Name); /*-----------------------------*/ format(string,128,"Hráč %s je zpět.",Name); SendClientMessageToAll(-1,string); /*-----------------------------*/ TogglePlayerControllable(playerid,true); DeletePVar(playerid,"AFK"); } return 1; } 1 Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 6. Březen, 2013 Share Odesláno: 6. Březen, 2013 nebude to tím že máš rze ? Link to comment Share on other sites More sharing options...
0 Fabricator 0 Odesláno: 6. Březen, 2013 Author Share Odesláno: 6. Březen, 2013 Robim si modik Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 6. Březen, 2013 Share Odesláno: 6. Březen, 2013 strdel(Name, 0, 5); Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 6. Březen, 2013 Administrátor Share Odesláno: 6. Březen, 2013 Jo jak napsal petr když jsem to psal zapoměl jsem že musím zastavit mazání až na 5 znaku je to má chyba ve scriptu Link to comment Share on other sites More sharing options...
0 Fabricator 0 Odesláno: 6. Březen, 2013 Author Share Odesláno: 6. Březen, 2013 ok 1 Link to comment Share on other sites More sharing options...
Dotaz
Fabricator 0
Zdravim Afk system od Ewweho je chyný
ked dam na servery /afk a stlacim Tam mám tam že [AFK]Kura ale ked dam zvo /afk a ked chcem hrat tak potom mám meno že ]Kura
tu je cod:
Link to comment
Share on other sites
5 odpovědí na tuto otázku
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