Menu

Show posts

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 Menu

Messages - Zone_Killer

#31
Servers / Re: .::SkyNet-MultiGames::. Back
Aug 25, 2017, 08:58 AM
nice
#32
Clans and Families / Re: FM . Full Metal.
Aug 18, 2017, 01:01 PM
bbc FM :D
#33
This is not working properly. :-\
#34
Add Object Command:
if(cmd == "createobject") {CreateObject( 500, 1, Vector( player.Pos.x, player.Pos.y, player.Pos.z), 255 ).RotateByEuler( Vector( 3.14159, 3.14159, 0.618407), 0); }
but i want When i use /createobject command so player angle automatically set to object angle

player.Angle = object.RotationEuler;
but its not working

Sorry For My Bad English :(


#36
@umar4911 try this

if(cmd == "sethp")
 {
 if(!text) MessagePlayer("[#CCFF66]** Use /" + cmd + " <hp> <Name>", player);
 else
 {
local plr = FindPlayer(GetTok( text, " ", 2 ));
local health = GetTok( text, " ", 1, NumTok( text, " " ) );
 if(!plr) MessagePlayer("[#CCFF66]** Invalid Player", player);
else
 {
 plr.Health = health.tointeger();
 Message("[#CCFF66]** Your hp has been set to :" + health + "by :" + player.Name + ".");
 }
 }
 }
#37
Are you helping or asking for help? ??? ???
#38
SetHP

function onPlayerCommand(player, command, arguments)
{
 if(command == "sethp")
 {
 if(!arguments) MessagePlayer("[#CCFF66]** Use /" + command + " <hp> <Name>", player);
 else
 {
local plr = FindPlayer(GetTok( arguments, " ", 2 ));
local health = GetTok( arguments, " ", 1, NumTok( arguments, " " ) );
 if(!plr) MessagePlayer("[#CCFF66]** Invalid Player", player);
else
 {
 plr.Health = health;
 Message("[#CCFF66]** Your hp has been set to :" + health + "by :" + Player.Name + ".", plr);
 }
 }
 }
 

}

GetTok Function
function GetTok(string, separator, n, ...)
{
  local m = vargv.len() > 0 ? vargv[0] : n,
      tokenized = split(string, separator),
      text = "";

  if (n > tokenized.len() || n < 1) return null;
  for (; n <= m; n++)
  {
    text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
  }
  return text;
}

Numtok Function
function NumTok(string, separator)
{
  local tokenized = split(string, separator);
  return tokenized.len();
  local s = split(string, separator);
    return s.len();
}

#40
guyz i have create this 8) 8) 8)
::Scroll <- GUIScrollbar(VectorScreen(470,350), VectorScreen(15, 200), Colour(220, 218, 65, 230), GUI_FLAG_SCROLLABLE)  
but i don't know how to scroll the text with it.... please help :-\ :-\ :-\ :-\
#41
Skin Showroom / Re: New Tommy Model
Jul 25, 2017, 07:23 AM
really, Tommy changed his clothes :o :o :o :o :o :o :o :o :o
#42
Clans and Families / Re: ||::CK::||
Jul 25, 2017, 07:12 AM
Quote from: Bryan^ on Jul 24, 2017, 02:39 AMc: Thanks [CK]Zone_Killer Leader :v
Old clan [VU]
#44
Quote from: MatheuS on Jul 22, 2017, 05:11 PMCreateCheckpoint(player, world, isSphere, pos, rgb, radius)
You're using ARGB ( use RGB( R, G, B ) ) and converting to .tofloat but the color is .tointeger()
same problem. i have tried this. Only 40 checkpoints Are appearing.
#45
Clans and Families / Re: ||::CK::||
Jul 23, 2017, 07:25 AM
Good Luck!