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 - Banaqs

#16
if ( player.Name.find( "~" ) != null ) player.Kick();
#17
Support / Which is better?
Dec 03, 2014, 10:28 PM
Ok, i have a question.

Which Linux OS is better for VCMP Server

- CentOs
- debian
- ubuntu
#18
function Fix(player)
{
local p = FindPlayer( player );
if (p)
{
    p.Vehicle.Fix();
    ePrivMessage( "Successfully fixed your vehicle.", p );
}
}
#19
When i use

/setspeed f

in console i have a error

CALLSTACK
AN ERROR HAS OCCURED [cannot convert the string]

in line 2597:

2596:  try {
2597:   speed = t.tofloat();
2598:  } catch (error) {
2599:   // Inform the invoker
2600:   MessagePlayer(format(@"Error: %s (%s)", error, t), p);
2601:  }
#20
I have a problem....

else if (cmd == "setspeed")
{
if (!text) MessagePlayer("Type: /"+cmd+" [float]",player);
else if (typeof text != "float") MessagePlayer("Type: /"+cmd+" [float]",player);
else
{
Message(player.Name+" change game speed to ( "+text.tofloat()+" )");
SetGamespeed(text.tofloat());
}
}

Every time (when i wrote "/setspeed 1.2") return message from this line

else if (typeof text != "float") MessagePlayer("Type: /"+cmd+" [float]",player);
#21
lol... thanks ;)
#22
I need IsFloat (like a IsNum)
#23
How to add props in array like a this Kills <- array ( GetMaxPlayers() , 0 );
I need a good example
#25
How to block two players with the same UID