#1

Hello there, lads!
Let's get to the problem. I am using an Enumerator for the Vehicle System. I tried debugging it to see if it works, and guess what ....... it does. But the problem is,...errr... it doesn't create the vehicle In Game.
That's the Samp-server.


This is the Creation of vehicles under OnGameModeInit
pawn Код:
for(new i = 184; i < sizeof(VehicleInfo); i++)
    {
        AddStaticVehicleEx(VehicleInfo[i][vModel],VehicleInfo[i][vLocX],VehicleInfo[i][vLocY],VehicleInfo[i][vLocZ],VehicleInfo[i][vAngle],
        VehicleInfo[i][vColorOne],VehicleInfo[i][vColorTwo],60000);
        SetVehicleNumberPlate(i,VehicleInfo[i][vPlate]);
        SetVehicleToRespawn(i);
    }
That's how I debugged it.
pawn Код:
printf("Vehicle ID: %d | Model: %d | Owner: %s | LicensePlate %s",idx,VehicleInfo[idx][vModel],VehicleInfo[idx][vOwner],VehicleInfo[idx][vPlate]);
Earlier, I used Player Vehicles but that's actually pretty useless, lacking many Functions like MDC check e.t.c
Please help me.
Reply


Messages In This Thread
Help - by JonathanW - 10.08.2014, 06:48
Re: Help - by Faisal_khan - 10.08.2014, 07:55
Re: Help - by JonathanW - 10.08.2014, 07:57
Re: Help - by JonathanW - 10.08.2014, 08:27
Re: Help - by Misiur - 10.08.2014, 08:46
Re: Help - by JonathanW - 10.08.2014, 10:35
Re: Help - by PawnOX - 10.08.2014, 11:07
Re: Help - by JonathanW - 10.08.2014, 11:21
Re: Help - by JonathanW - 10.08.2014, 14:15
Re: Help - by [L]azy[H]aze - 10.08.2014, 14:39

Forum Jump:


Users browsing this thread: 3 Guest(s)