Basic Property System (with pickup model changing)

lambada7

  • Newbie
  • Posts: 7
Re: Basic Property System (with pickup model changing)
« Reply #60, on September 17th, 2018, 02:48 PM »
if (((tempposx < radi)(tempposx > -radi))((tempposy < radi)(tempposy > -radi))((tempposz < radi)(tempposz > -radi)))


cmd gives error!

Do you rewrite the code?

My browser is showing wrong! :( :( :(

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 475
Try to UnderStand ME!

Alpays

  • Newbie
  • Posts: 23

habi

  • Sr. Member
  • Posts: 265
Re: Basic Property System (with pickup model changing)
« Reply #63,  »Last edited
Code: [Select]
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;
}

function NumTok( string, separator )
{
 local tokenized = split( string, separator );

 return tokenized.len();
}

https://forum.vc-mp.org/?topic=7122.msg46253#msg46253