Liebe User
ich will wen es Explodiert das der Auto sich Automatisch Aus den Server Remove Wird
if(strcmp("/rcbomb",cmdtext, true, 10) == 0)
{
new Float:pXX, Float:pYY, Float:pZZ, Float:pAA;
GetPlayerPos(playerid,pXX,pYY,pZZ);
GetPlayerFacingAngle(playerid,pAA);
new pVEH = CreateVehicle(441,pXX,pYY+5,pZZ,pAA,0,1,60);
PutPlayerInVehicle(playerid,pVEH,0);
return 1;
}
if(newkeys & KEY_FIRE)
{
new Float:x,Float:y,Float:z;
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 441)
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z,10,2000);
CreateExplosion(x+3,y+3,z,10,2000);
CreateExplosion(x+5,y+5,z,10,2000);
return 1;
}