#1

hello guys i been scripting a really good script but i got a problem when i talk with /o i get [Administrator James] and then what ever i said but i want it to be like [Server Owner JAmes.......] or if ur head admin or lower [Head Admin James.....] Etc if anyone can help me please do
Reply
#2

Would you perhaps post the command in this thread? I couldn't help you unless I saw what you've done.

It may be that some functions are messing with each other.
Reply
#3

You could use switch() {}
Reply
#4

if i use switch what to type?
Reply
#5

For ex
pawn Код:
new
    str[128];
switch(adminVar)
{
    case 1: format(str, sizeof(str), "[Mod] %s: %s...", ...);
    case 2; format(str, sizeof(str), "[G Mod] %s: %s... ", ...);
    case 3: ..... and so on.
}
SendClientMessageTo...(-1, str);
Reply
#6

Quote:

For ex
pawn Code:
new
str[128];
switch(adminVar)
{
case 1: format(str, sizeof(str), "[Mod] %s: %s...", ...);
case 2; format(str, sizeof(str), "[G Mod] %s: %s... ", ...);
case 3: ..... and so on.
}
SendClientMessageTo...(-1, str);



And if i use the would it identify if the server owner or head admin etc is talking on ooc?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)