#8

I repaired this error, but now are give this error: the objects created are Double and this:



Code is :
pawn Код:
#include <a_samp>
#include <xStreamer>

new radius = 200;
new Float:degree=0.0;
new Tunnel[750];

public OnFilterScriptInit()
{
    new Float:X, Float:Temp, Float:Y, Float:Px, Float:Py;
    for(new Objects; Objects < 750; Objects++)
    {
      if(degree < 360)
    {
        degree++;
    }
    else
    {
      degree=1.0;
        }
      X = floatmul(floatcos(degree, degrees),radius),
      Temp = (radius * radius) - floatpower(X, 2),
      Y = floatsqroot(Temp),
      Px = floatadd(0, X),
      Py = floatadd(0, Y);
   
    Tunnel[Objects] = CreateStreamedObject(13592, Px, Py, 10.000, 0, 0, degree);
    printf("X: %.2f, Y: %.2f, Degree: %.3f", X, Y, degree);
  }
    return 1;
}

Help please.
Reply


Messages In This Thread
Why? - by _TeRmiNaToR_ - 10.09.2009, 07:36
Re: Why? - by _TeRmiNaToR_ - 10.09.2009, 10:42
Re: Why? - by _TeRmiNaToR_ - 10.09.2009, 13:17
Re: Why? - by Kyosaur - 10.09.2009, 13:31
Re: Why? - by Correlli - 10.09.2009, 13:45
Re: Why? - by _TeRmiNaToR_ - 10.09.2009, 13:45
Re: Why? - by saiberfun - 10.09.2009, 15:48
Re: Why? - by _TeRmiNaToR_ - 11.09.2009, 16:01

Forum Jump:


Users browsing this thread: 3 Guest(s)