Ich habe folgenden Code :
ocmd:veh(playerid,params[])
{
new vehicleID,vehicleColor;
new Float:x,Float:y,Float:z;
new text;
if(!IstSpielerAdmin(playerid,2))return SendClientMessage(playerid,GRAU,"Du bist kein Admin!");
if(sscanf(params,"ii",vehicleID,vehicleColor))return SendClientMessage(playerid,GRAU,"Benutzung:/veh [ID] [COLOR]");
GetPlayerPos(playerid,x,y,z);
admincar = AddStaticVehicle(vehicleID,x,y,z,0,vehicleColor,vehicleColor);
text = Create3DTextLabel("Support-Auto",GRÜN, 1958.3783, 1343.1572, 15.3746,20.0,0,0);
Attach3DTextLabelToVehicle(text,admincar,0,0,1);
return 1;
}
Und diese Meldungen :
C:\Users\Cedrik\Desktop\samp03dsvr_R2_win32\gamemodes\PKC.pwn(139) : warning 213: tag mismatch
C:\Users\Cedrik\Desktop\samp03dsvr_R2_win32\gamemodes\PKC.pwn(140) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
ICh hoffe mir kann jmd. helfen ..
Danke