01.03.2011, 00:41
if(IsPlayerConnected(para1))
{
new Float:testcar[3];
GetPlayerPos(para1, testcar[1], testcar[2], testcar[3]);
new Float:Angle;
GetPlayerFacingAngle(para1, Angle);
new car = CreateVehicle(vehicleid, testcar[1]+2.5, testcar[2]+2.5, testcar[3], Angle, color1, color2, 0);
}
{
new Float:testcar[3];
GetPlayerPos(para1, testcar[1], testcar[2], testcar[3]);
new Float:Angle;
GetPlayerFacingAngle(para1, Angle);
new car = CreateVehicle(vehicleid, testcar[1]+2.5, testcar[2]+2.5, testcar[3], Angle, color1, color2, 0);
}