Faza 0 Odesláno: 6. Únor, 2014 Share Odesláno: 6. Únor, 2014 Dobrý deň, vedel by niekto vytovriť prefixy pred meno?pwn aby som si to mohol upraviťAdmin a HracĎakujem veľmi pekne Takto som našiel treba to dať do pluginu + tam dorobiť pre hraca prefix Ďakujem public OnPlayerText(playerid, text[]){ if(PlayerInfo[playerid][pAdminLevel] >= 1) { new String[128], name[MAX_PLAYER_NAME] ; format(String, sizeof(String), "[PREFIX] %s: %s", name, text); SendClientMessageToAll(0xFFFFFFF, String); return 1; } return 0;} Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 6. Únor, 2014 Share Odesláno: 6. Únor, 2014 if(PlayerInfo[playerid][pAdminLevel] > 0) { new name[33],String[128]; GetPlayerName(..,...,..); format(String,128,"[Prefix]_%s : %s",name,text); SendClientMessageToAll(-1,String); return 0; } Link to comment Share on other sites More sharing options...
Faza 0 Odesláno: 6. Únor, 2014 Author Share Odesláno: 6. Únor, 2014 dat to do plugino celeho bich potreboval newim co tam chyba Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 6. Únor, 2014 Share Odesláno: 6. Únor, 2014 Do pluginu.?...Aha... Tak to neumím ... Nechybí tam nic...Jen si vyplň GetPlayerName a máš to Link to comment Share on other sites More sharing options...
Faza 0 Odesláno: 6. Únor, 2014 Author Share Odesláno: 6. Únor, 2014 ouha tak to sem v ( | ) tak proste inculdy a tak tam nechybaju ? 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