if (strcmp("/car", cmdtext, true, 10) == 0)
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
SendClientMessage(playerid,COLOR_GREEN,"Car mit Objecten wurde erstellt :)");
new Infernus = CreateVehicle(411,x,y,z,a,-1,-1,-1); //erste 3 Zahlen ist die Car ID
SetVehicleVirtualWorld(Infernus,GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid,Infernus,0);
AttachObjectToVehicle(19419, 494, -0.000000, -0.289499, 0.694999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
AttachObjectToVehicle(19419, 494, -0.000000, -0.289499, -0.080000, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
AttachObjectToVehicle(19315, 494, 0.014999, 2.384006, -0.214999, -2.010000, -6.029999, 87.434959); //Object Model: 19315 |
return 1;
}