ocmd:supcar(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,1))
{
new Float:x, Float:y, Float:z;
new Text3D:supportveh[MAX_VEHICLES];
new c1,c2,vid;
if(sscanf(params,"iii",vid,c1,c2))return SendClientMessage(playerid,BLAU,"Benutzung: /supcar [CarID] [Farbe1] [Farbe2]");
{
if(vid<402||vid>603)return SendClientMessage(playerid,BLAU,"Ungültige Fahrzeug-ID.");
{
GetPlayerPos(playerid,x,y,z);
new car;
SetVehicleNumberPlate(car = CreateVehicle(vid,x,y,z,3,c1,c2,-1),"Supporter");
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid,BLAU,"Du hast dein Supporter-Car gespawnt.");
supportveh[car] = Create3DTextLabel("Supportmobil",ROT,0.0,0.0,0.0,50.0,0,1);
Attach3DTextLabelToVehicle(supportveh[car],car,0.0,0.0,2.0);
return 1;
}
}
}
return 1;
}
bei mir passiert ingame da nix