How come this don't work?
#3

pawn Код:
if(IsPlayerConnected(para1))
{
    new Float:x, Float:y, Float:z, Float:angle, car;
    GetPlayerPos(playerid, x, y, z);
    GetPlayerFacingAngle(playerid, angle);
    car = CreateVehicle(vehicleid, x+2.5, y+2.5, z, angle, color1, color2, -1);  
}
The code is perfect, it's just that you have to always start at zero on multi-dimensional arrays.

But the above code will work perfectly, .

And are you sure that 'vehicleid' is the model id?

And I think '0' as the respawn will never spawn the vehicle as it will keep respawning.

Hope I helped.
Reply


Messages In This Thread
How come this don't work? - by ThePlague1988 - 01.03.2011, 00:41
Re: How come this don't work? - by Backwardsman97 - 01.03.2011, 02:55
Re: How come this don't work? - by pawn_ - 01.03.2011, 03:12

Forum Jump:


Users browsing this thread: 1 Guest(s)