help wth streamer
#1

Hello there i been trying to make some track for race event... but .. when i load track nothing happen...

Ex Of my code:

pawn Код:
RaceObject0 = CreateDynamicObject(8171,3348.0747070,-1994.9150390,11.8250470,0.0000000,0.0000000,0.0000000,200); //Object number 0
Reply
#2

You don't need to label your race object if it's stationary, otherwise be sure to define the variable
Reply
#3

i have like:
pawn Код:
new RaceObject0;

// commands

    if(!strcmp(cmdtext, "/unsettrack", true))
    {
        DestroyDynamicObject(RaceObject0);
                // + shilt load of objects
        return 1;
    }
    if(!strcmp(cmdtext, "/setracetrack", true))
    {
        RaceObject0 = CreateDynamicObject(8171,3348.0747070,-1994.9150390,11.8250470,0.0000000,0.0000000,0.0000000,200); //Object number 0
        // + shilt load of objects
        return 1;
}
Reply
#4

bump
Reply
#5

"// + shilt load of objects", how much objects are there?
Reply
#6

There is 325 objects
Reply
#7

the last parameter is virtual world, and while you play, your virtual world is 0, so you can see object. Do this with every object:
Код:
RaceObject0 = CreateDynamicObject(8171,3348.0747070,-1994.9150390,11.8250470,0.0000000,0.0000000,0.0000000,0); // 200 --> 0
Reply
#8

Thanks, working, damn i was sure that last parametr is distance
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)