You already got an answer from MEGAMIND.Add this in the end of onPlayerCommand
Code Select
else MessagePlayer("Invalid Command",player);
}
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Strike Eagle on Sep 27, 2018, 07:21 PMOk btw how to disable debug logs
Quote from: Terror_Styles on Jul 18, 2017, 03:17 PMThere are many available in this forum & old Liberty Unleashed Forum!
Here are Some Search, Next Time Try yourself Searching those
Diego Subnet Ban: http://forum.vc-mp.org/?topic=346.msg2153#msg2153
Matheus UniqueID Ban: http://forum.vc-mp.org/?topic=200.msg1789#msg1789
Rocky TempBan VCMP 0.4 Modified by ME ( Just Changed Those PM's & Kick Functions ): https://pastebin.com/tX7LRyMz
HotDogCat TempBan VCMP 0.4 Modified by ME ( Changed PM's, Echo Messages & fix Kick Errors ): https://pastebin.com/NR9q6Ey4
Rocky's Ban System VCMP 0.4 : https://pastebin.com/sJEGqRrK
else if ( cmd == "forum" )
{
MessagePlayer("[#FF4500]Forum Link: [forum link]", player);
}
else if ( cmd == "discord" )
{
MessagePlayer("[#FF4500]Discord Link: [discord link]", player);
}
else if ( cmd == "me" )
{
if ( !text ) MessagePlayer("[#FF4500]Use /"+cmd+" <text>", player);
else
{
Message( "[#FF4500]"+player.Name+": " +text+ " " );
}
}