Alles anzeigenHier hast du dir ein wenig Zeilen gespart
COMMAND:garage(playerid, params[])
{
#pragma unused params
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Du bist in keinem Fahrzeug!");
if(TgateB == 1) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Die Tuninggarage wird gerade schon benutzt!");
if(!IsPlayerInRangeOfPoint(playerid,3,1521.5718,-1474.5720,9.5712)) return SendClientMessage(playerid,COLOR_BRIGHTRED,"Du bist nicht in der Tuninggarage!");
MoveObject(tgate0,1518.26220700,-1476.00231900,8.48960700,2);
MoveObject(tgate,1529.72448700,-1474.88757300,13.53587000 ,2);
MoveObject(tgate1,1518.25378400,-1474.64648400,8.46458500 ,2);
MoveObject(tgate2,1520.91699200,-1475.98803700,8.48958300 ,2);
MoveObject(tgate3,1520.91577100,-1474.64892600,8.48958300 ,2);
MoveObject(tgate4,1523.55273400,-1475.99853500,8.48960800 ,2);
MoveObject(tgate5,1523.57202100,-1474.65380900,8.48960800 ,2);
MoveObject(tgate6,1518.24743700,-1473.30639600,8.46460800 ,2);
MoveObject(tgate7,1520.91491700,-1473.30334500,8.46460800 ,2);
MoveObject(tgate8,1523.57458500,-1473.29760700,8.46460800 ,2);
MoveObject(tgate9,1516.72961400,-1476.32873500,9.60031800 ,2);
MoveObject(tgate10,1517.60376000,-1476.72082500,10.29875500 ,2);
MoveObject(tgate11,1517.60107400,-1472.48510700,10.24875500 ,2);
TgateB = 1;
StartGarage(playerid);
return 1;
}
Nett von dir
aber ich lass das so glaube ich , wenn ich das brauche komm ich drauf zurück aber danke trotzdem
Btw. Mein Post nummer 100. ! *freu*