[HELP] OOC Chat
#1

Код:
}
format(string, sizeof(string), "%s: %s", sendername, result);
SendPlayerMessageToAll(HEEEEEEEEERE);
printf("%s", string);
return 1;
}
What should I put in the brackets? And dont suggest me to add Color, string) . Cause I want the chat to be in the colour of the nickname. If I add SendPlayerMessageToAll(playerid, string) it adds another name. Buut well..


Yeh So I need help of making /ooc coloured (Only the name should be coloured)


EDIT: ALL FIXED
Reply
#2

pawn Код:
}
format(string, sizeof(string), "%s: (( %s ))", sendername, result);
SendPlayerMessageToAll(HEEEEEEEEERE);
printf("%s", string);
return 1;
}
Reply
#3

what the hell? u only made the brackets
Reply
#4

Код:
}
format(string, sizeof(string), "%s", (result));
SendPlayerMessageToAll(giveplayerid, string);
printf("%s", string);
return 1;
}
I think this should work

and uhm dont forget:
Код:
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
and:
Код:
giveplayerid = ReturnUser(tmp);
Reply
#5

Quote:
Originally Posted by Mokerr
Код:
}
format(string, sizeof(string), "%s", (result));
SendPlayerMessageToAll(giveplayerid, string);
printf("%s", string);
return 1;
}
I think this should work

and uhm dont forget:
Код:
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
and:
Код:
giveplayerid = ReturnUser(tmp);
Huh i already know about this.. Well it was a friend entering on my SA-MP forum acount ... Gotta change pass.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)