Quote from: Xmair on Oct 19, 2017, 10:29 AMChangeThankss So Much Bro But Problem Solved By DoomKill3RCode Selectplayer.Vehicle.Angle()
toCode Selectplayer.Vehicle.Angle
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: Xmair on Oct 19, 2017, 10:29 AMChangeThankss So Much Bro But Problem Solved By DoomKill3Rplayer.Vehicle.Angle()
toplayer.Vehicle.Angle
if ( cmd == "Anglecar" ) {
else if ( !player.Vehicle ) MessagePlayer("You are not in a vehicle.", player );
else {
MessagePlayer( " Your vehicle angle is: " + player.Vehicle.Angle(), player );
}
}
}
That Commands Not Work Any Worked That Code Need It.
Quote from: Mahmoud Tornado on Oct 18, 2017, 09:02 PMsetlevel command not working in this commands Becuz you must be have register server than level stats than change commandsRegistration Do You Know Any System registration niice save stats?
else if (cmd == "ann")
{
if ( player.Name == "[MCO]We3da" || player.Name == "SdS.3laWi" || player.Name == "MahmoudTornado" ) // You Must Change Them To You Admins Names
{
if (!text) return ClientMessage("[#FF0000][Syntax]/ann <ID> <All/Nick/ID> <Text>", player, 0, 0, 0);
local v = split(text, " ");
if (v.len() < 3) return ClientMessage("[#FF0000][Syntax]/ann <ID> <All/Nick/ID> <Text>", player, 0, 0, 0);
if (v[1].tolower() == "all") AnnounceAll(text.slice(v[0].len() + v[1].len() + 2), v[0].tointeger());
else Announce(text.slice(v[0].len() + v[1].len() + 2), FindPlayer(v[1]), v[0].tointeger());
}
else MessagePlayer( "[#FF0000] You're not allowed to use this command. " , player )
}
2 : Kick else if ( cmd == "kick" )
{
if ( player.Name == "[MCO]We3da" || player.Name == "SdS.3laWi" || player.Name == "New Name #2" ) // You Must Change Them To You Admins Names
{
if ( text )
{
local plr = FindPlayer( text );
if ( plr )
{
KickPlayer( plr );
}
else MessagePlayer( "[#ff0000]Cannot find player "+text+"." , player );
}
else MessagePlayer( "[#ff0000]Usage: /"+cmd+" <player>" , player );
}
else MessagePlayer( "[#ff0000]You are not allowed to use this command." , player )
}
3 : Set Time else if ( cmd == "settime" )
{
if ( player.Name == "[MCO]We3da" || player.Name == "SdS.3laWi" || player.Name == "New Name #2" ) // You Must Change Them To You Admins Names
{
if ( !text ) MessagePlayer( "[#ff0000]Correct syntax : /settime <hr> <min>", player );
else if ( split(text, " ").len() < 2) return MessagePlayer("[#ff0000]Correct syntax : /settime <hr> <min>", player )
else
{
local a = split(text, " ");
if ( !IsNum( a[0] )) MessagePlayer( "[#ffbb00]Format: /settime <hr> <min>", player );
else if ( !IsNum( a[1] )) MessagePlayer( "[#ffbb00]Format: /settime <hr> <min>", player );
else SetTime( a[0].tointeger(), a[1].tointeger() ) ;
}
}
else MessagePlayer( "[#FF0000] You're not allowed to use this command. " , player )
}
4 SetWeather else if ( cmd == "setweather" )
{
if ( player.Name == "[MCO]We3da" || player.Name == "SdS.3laWi" || player.Name == "New Name #2" ) // You Must Change Them To You Admins Names
{
if ( !text ) return MessagePlayer( "[#ff0000]Usage: setweather [Weather/ID]", player );
if ( !IsNum(text) ) return MessagePlayer( "[#ff0000]Use integers/numbers", player );
SetWeather( text.tointeger() );
Message( "[#4acc0a] Admin "+ player.Name +" Set The Weather To "+GetWeatherName());
return;
}
else MessagePlayer( "[#FF0000] You're not allowed to use this command. " , player )
}
Quote from: Thijn on Oct 18, 2017, 04:27 PMPseudo code, you'd have to change that to working code yourself.@Thijn Thanks For You Help Problem Solved By @KuRiMionPlayerCommand(player, command, text) {
if (command == "angle") {
if (player.Vehicle) {
MessagePlayer(player, "Angle: " + player.Vehicle.Angle);
} else {
MessagePlayer(player, "Get in a vehicle. Noob.");
}
}
Quote from: KuRiMi on Oct 18, 2017, 11:34 AMThanks Bro KuRiMi Problem Solved.Quote from: [MCO]We3da on Oct 17, 2017, 06:42 PMNot Working For me MahmoudTornado
all commands its work database create automatique all niiicebut
But i am do /saveloc parkour and do /gotoloc parkour........ Unknow loc lol ;v
Probably either your gotoloc function doesn't read the positions, from the database, correctly or your saveloc doesn't store the positions properly.