VC:MP Example /cmds Command For Roleplay/Deatmatch/Freeroam

Started by [M4]Shikri_M4, Dec 23, 2022, 08:25 PM

Previous topic - Next topic

[M4]Shikri_M4

Hi Guys :P! Today I Will Show The /cmds Command And Eazy Message ::)!
 ;D
Here İs The Code;

if ( cmd == "cmds" ) // You Can Add Your Codes In It Its Awesome Code Bro !
{
if ( !text )
{
MessagePlayer( "[#00ff00][INFO]: [#ffffff]/"+cmd+" <1-2>", player );
}
else
{
if ( text == "1" )
{
MessagePlayer( "[#ffff00]--> [#ffffff]/cmds.", player );
return false;
}
if ( text == "2" )
{
MessagePlayer( "[#ffff00]--> [#ffffff]/cmds.", player );
return false;
}
MessagePlayer( "[#ff0000][Error]: [#ffffff]" + text + " Not Found In The Commands List !", player );
}
}