01.03.2011, 03:12
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);
}
But the above code will work perfectly,
![Smiley](images/smilies/smile.png)
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.