mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-08 08:03:21 +00:00
Update things
This commit is contained in:
parent
9590ceb207
commit
d4f9241b3c
25 changed files with 650 additions and 345 deletions
|
@ -155,7 +155,7 @@ enum struct EditorData {
|
|||
|
||||
bool CheckEntity() {
|
||||
if(this.entity != INVALID_ENT_REFERENCE) {
|
||||
if(!IsValidEntity(this.entity)) {
|
||||
if(this.entity == -1 && !IsValidEntity(this.entity)) {
|
||||
PrintToChat(this.client, "\x04[Editor]\x01 Entity has vanished, editing cancelled.");
|
||||
this.Reset();
|
||||
return false;
|
||||
|
@ -301,7 +301,7 @@ enum struct EditorData {
|
|||
char component[16];
|
||||
for(int i = 0; i < 4; i++) {
|
||||
if(this.colorIndex == i)
|
||||
Format(component, sizeof(component), "%s \x05 %c \x01", component, COLOR_INDEX[i]);
|
||||
Format(component, sizeof(component), "%s \x05%c\x01", component, COLOR_INDEX[i]);
|
||||
else
|
||||
Format(component, sizeof(component), "%s %c", component, COLOR_INDEX[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue