[HELP] OOC Chat - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] OOC Chat (
/showthread.php?tid=150296)
[HELP] OOC Chat -
BrianJJ - 25.05.2010
Код:
}
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
Re: [HELP] OOC Chat -
Goobiiify - 25.05.2010
pawn Код:
}
format(string, sizeof(string), "%s: (( %s ))", sendername, result);
SendPlayerMessageToAll(HEEEEEEEEERE);
printf("%s", string);
return 1;
}
Re: [HELP] OOC Chat -
BrianJJ - 25.05.2010
what the hell? u only made the brackets
Re: [HELP] OOC Chat -
Mokerr - 25.05.2010
Код:
}
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);
Re: [HELP] OOC Chat -
BrianJJ - 26.05.2010
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.