else if (cmd== "fps")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]FPS " + player.FPS + "[#ffff00].",player);
}
else if (cmd== "ping")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]PING " + player.Ping + "[#ffff00].",player);
}
else if (cmd== "myip")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]IP " + player.IP + "[#ffff00].",player);
}
else if (cmd== "score")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]SCORE " + player.Score + "[#ffff00].",player);
}
else if (cmd== "cash")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Cash " + player.Cash + "[#ffff00].",player);
}
else if (cmd== "skin")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Skin " + player.Skin + "[#ffff00].",player);
}
else if (cmd== "myinfo")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Info - FPS " + player.FPS + " PING " + player.Ping + " IP " + player.IP + "CASH" + player.Cash + "SKIN " + player.Skin + "SCORE " + player.Score + "[#ffff00].",player);
}
Quote from: Gitobaloch on Feb 27, 2020, 07:07 AMelse if (cmd== "fps")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]FPS " + player.Fps + "[#ffff00].",player);
}
else if (cmd== "ping")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]PING " + player.Ping + "[#ffff00].",player);
}
else if (cmd== "myip")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]IP " + player.IP + "[#ffff00].",player);
}
else if (cmd== "score")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]SCORE " + player.Score + "[#ffff00].",player);
}
else if (cmd== "cash")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Cash " + player.Cash + "[#ffff00].",player);
}
else if (cmd== "skin")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Skin " + player.Skin + "[#ffff00].",player);
}
else if (cmd== "myinfo")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Info - FPS " + player.Fps + " PING " + player.Ping + " IP " + player.IP + "CASH" + player.Cash + "SKIN " + player.Skin + "SCORE " + player.Score + "[#ffff00].",player);
}
Very simple and you can improve it.
Quote from: MatheuS on Feb 27, 2020, 10:10 AMQuote from: Gitobaloch on Feb 27, 2020, 07:07 AMelse if (cmd== "fps")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]FPS " + player.Fps + "[#ffff00].",player);
}
else if (cmd== "ping")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]PING " + player.Ping + "[#ffff00].",player);
}
else if (cmd== "myip")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]IP " + player.IP + "[#ffff00].",player);
}
else if (cmd== "score")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]SCORE " + player.Score + "[#ffff00].",player);
}
else if (cmd== "cash")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Cash " + player.Cash + "[#ffff00].",player);
}
else if (cmd== "skin")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Skin " + player.Skin + "[#ffff00].",player);
}
else if (cmd== "myinfo")
{
MessagePlayer("[#ffffff] " + player.Name + " [#ffff00]Info - FPS " + player.Fps + " PING " + player.Ping + " IP " + player.IP + "CASH" + player.Cash + "SKIN " + player.Skin + "SCORE " + player.Score + "[#ffff00].",player);
}
Very simple and you can improve it.
Thank you so much. :)
to see the font colours, i have used it in my server. first it did not work :o
use player.FPS
in those commands. and some spaces between skin, cash etc.
beginner nice work man.
Quote from: habi on Feb 28, 2020, 01:04 PMto see the font colours, i have used it in my server. first it did not work :o
use player.FPS
in those commands. and some spaces between skin, cash etc.
beginner nice work man.
Thank you so much but im really sorry for bug
else if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
Quote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
Quote from: Gitobaloch on May 18, 2020, 05:36 AMQuote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
It will.
Quote from: Xmair on May 18, 2020, 11:40 AMQuote from: Gitobaloch on May 18, 2020, 05:36 AMQuote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
It will.
sasty nashe kiye hain kia?
Quote from: Gitobaloch on May 20, 2020, 05:46 PMQuote from: Xmair on May 18, 2020, 11:40 AMQuote from: Gitobaloch on May 18, 2020, 05:36 AMQuote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
It will.
sasty nashe kiye hain kia?
.UID is an alias for .UniqueID
:edit:: Nevermind, I thought you meant the member variable.
Quote from: Xmair on May 20, 2020, 06:42 PMQuote from: Gitobaloch on May 20, 2020, 05:46 PMQuote from: Xmair on May 18, 2020, 11:40 AMQuote from: Gitobaloch on May 18, 2020, 05:36 AMQuote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
It will.
sasty nashe kiye hain kia?
.UID is an alias for .UniqueID
plr is not defined Lmao, how it will work??
Quote from: Mursaleen5544 on May 20, 2020, 07:27 PMQuote from: Xmair on May 20, 2020, 06:42 PMQuote from: Gitobaloch on May 20, 2020, 05:46 PMQuote from: Xmair on May 18, 2020, 11:40 AMQuote from: Gitobaloch on May 18, 2020, 05:36 AMQuote from: =RK=MarineForce on May 16, 2020, 01:35 AMelse if (cmd== "myuid")
{
MessagePlayer("[#ffffff]>> " + plr.Name + "[#00d9ff]'s UID: [#ffffff]" + plr.UID + ".",player);
}
bruh this will not work :D because of "plr.UID"
It will.
sasty nashe kiye hain kia?
.UID is an alias for .UniqueID
plr is not defined Lmao, how it will work??
that's what im trying to say bro XD.
modify according your stats sytem
else if (cmd=="uid")
{
if ( stats[player.ID].Level >= 1 )
{
if (!text) MessagePlayer("[#db0000]Usage :[#FFFFFF] /uid <Name/ID>",player);
else
{
local plr = FindPlayer (text);
if (!plr) MessagePlayer("[#db0000]Unknown Player",player);
else {
MessagePlayer("[#529AE3]--> [#FFFFFF]"+plr.Name+"[#529AE3] 's UID : [#FFFFFF]"+plr.UID+".",player);
}
}
}
}
i m brain donor that i posted it. bump*
can't you change it to player? so brainless
we're not brianless if a newbie try to copy it he will definetly get error so that's the reason im saying hh.
Quote from: Gitobaloch on May 22, 2020, 02:39 PMwe're not brianless if a newbie try to copy it he will definetly get error so that's the reason im saying hh.
bruh huh? he's saying plr is not defined Lmao, how it will work?? he know it but he've to make some shits.
Holy f*, stop complaining about a missing variable.
yeah xDD