02.12.2013, 05:40
This is the second post I have seen of you just asking for code. That is sad because I have not even been back for 48 hours yet! Here is everything you need for this flush command (outside of OnPlayerCommandText / command processing--I assume you have THAT much down):
https://sampwiki.blast.hk/wiki/Control_S...res#for_.28.29
https://sampwiki.blast.hk/wiki/SendClientMessage
It would be a whole lot easier, and faster for you if you just read all the documentation / resources available to you, so you can learn at least the basics.
https://sampwiki.blast.hk/wiki/Scripting_Basics
https://sampwiki.blast.hk/wiki/Control_S...res#for_.28.29
https://sampwiki.blast.hk/wiki/SendClientMessage
It would be a whole lot easier, and faster for you if you just read all the documentation / resources available to you, so you can learn at least the basics.
https://sampwiki.blast.hk/wiki/Scripting_Basics