Kolor
-
Postów
6 -
Dołączył
-
Ostatnia wizyta
Odpowiedzi opublikowane przez Kolor
-
-
modelu postaci
już mam pobrany i wybrany tylko jak to zrobić żeby działało
-
Jak zrobić żeby tylko VIP/ADMIN miał inny skin niż inni gracze?
-
/close
-
A skąd mogę najszybciej pobrać te wszystkie biblioteki?
czy muszę wszystkie osobno szukać?
-
Witam,
mam taki problem, że jak próbuje przerobić plik .sp na .smx w kompilatorze to mi wyskakuje taki błąd : Wystąpił nieznany błąd (126)
A jak próbuje przez innego to taki błąd mam:/home/groups/sourcemod/upload_tmp/phpMuZ5C3.sp(7) : fatal error 182: cannot read from file: "colors"
Wie ktoś może jak to naprawić ??
Błąd w pluginie
w Pluginy
Opublikowano
Witam, Jeżeli post w złym dziale to przepraszam,
Ale mam problem z plugin'em
Iż mam plugin na TAG i jak pisze na "u" to tekst się pokazuje na czacie globalnym.
Kod:
if ((IsPlayerGenericAdmin(client)) && GetConVarBool(Tagsay)) { decl String:sTextToAll[1024]; GetCmdArgString(sTextToAll, sizeof(sTextToAll)); StripQuotes(sTextToAll); LogPlayerEvent(client, "say=", sTextToAll); new team = GetClientTeam(client); if(IsPlayerAlive(client) && team == 2 || team == 3) { for(new i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && sTextToAll[0] != '@' && sTextToAll[0] != '/' && sTextToAll[0] != '!') { new PlayersTeam = GetClientTeam(i); if(PlayersTeam & team && sTextToAll[0] > 0) { if(team == 2) PrintToChat(i, "\x01(Terrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); else PrintToChat(i, "\x01(Antyterrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); } } } } /* Player isn't alive and have team (no spec) */ else if(!IsPlayerAlive(client) && team == 2 || team == 3 && sTextToAll[0] != '@' && sTextToAll[0] != '/' && sTextToAll[0] != '!') { for(new i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsPlayerAlive(i)) { new PlayersTeam = GetClientTeam(i); if(PlayersTeam & team && sTextToAll[0] > 0) { if(team == 2) PrintToChat(i, "\x01*NIE ŻYJE*(Terrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); else PrintToChat(i, "\x01*NIE ŻYJE*(Antyterrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); } } } } /* Player is in spectate */ else if(!IsPlayerAlive(client) && team != 2 && team != 3 && sTextToAll[0] != '@' && sTextToAll[0] != '/' && sTextToAll[0] != '!') { for(new i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsPlayerAlive(i)) { new PlayersTeam = GetClientTeam(i); if(PlayersTeam & team && sTextToAll[0] > 0) { if(team == 2) PrintToChat(i, "\x01*OBSERWATOR*(Terrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); else PrintToChat(i, "\x01*OBSERWATOR*(Antyterrorysta) [\x02ADMIN\x01]\x05 %N \x01%s", client, sTextToAll); } } } } return Plugin_Handled; }