Creating cars on a command
#1

Hello once again,

I am actaully trying to make certain vehicles appear on a command, /sunload, because you cannot use MoveObject on vehicles. Here is my pawn code, but It doesn't seem to be working.

pawn Код:
if (!strcmp("/sunload", cmdtext))
    {
        CreateVehicle(428, -5400.6260, 1787.1687, 7.1258, 0.0000, -1, -1, 100);
        CreateVehicle(428, -5404.0386, 1794.8119, 7.1258, 0.0000, -1, -1, 100);
        CreateVehicle(428, -5400.5342, 1794.7540, 7.1258, 0.0000, -1, -1, 100);
        CreateVehicle(428, -5403.9707, 1787.1770, 7.1258, 0.0000, -1, -1, 100);
        return 1;
    }
It should be simple, I am aware, but I tested my script and it didn't load the vehicles.

Help is appreciated!
-nmader
Reply


Messages In This Thread
Creating cars on a command - by nmader - 29.11.2011, 21:08
Re: Creating cars on a command - by sleepysnowflake - 29.11.2011, 21:29
Re: Creating cars on a command - by nmader - 29.11.2011, 21:48
Re: Creating cars on a command - by Thresholdold - 30.11.2011, 01:07
Re: Creating cars on a command - by Thresholdold - 30.11.2011, 01:10
Re: Creating cars on a command - by JamesC - 30.11.2011, 01:13
Re: Creating cars on a command - by Thresholdold - 30.11.2011, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)