Ich habe einen /veh command
Hier ist der Fehler...........
C:\Users\Ivan - Nopakal\Desktop\Spiele\SoL\filterscripts\VEH.pwn(1) : warning 203: symbol is never used: "veh"
C:\Users\Ivan - Nopakal\Desktop\Spiele\SoL\filterscripts\VEH.pwn(1 -- 19) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
ocmd:veh(playerid,params[])
{
if(!IsPlayerAnAdmin(playerid,1))return NoAdmin(playerid, 1);
new ModelID, color[2],Float:VehPos[4], vehicleid;
{
if(GetPlayerState(playerid)!=PLAYER_STATE_ONFOOT) return SendClientMessage(playerid,0xB0AFB0FF,"Du bist in einen anderen Auto bitte steige aus.");
if(sscanf(params, "ddd",ModelID,color[0],color[1])) return SendClientMessage(playerid,0xB0AFB0FF, "/veh [ModelID] [Farbe1] [Farbe2]");
if(ModelID < 400 ModelID > 611) return SendClientMessage(playerid,0xB0AFB0FF, "Die Fahrzeug Id muss von 400 bis 611 sein");
GetPlayerPos(playerid, VehPos[0],VehPos[1],VehPos[2]);
GetPlayerFacingAngle(playerid, VehPos[3]);
vehicleid = CreateVehicle(ModelID,VehPos[0],VehPos[1],VehPos[2],VehPos[3],color[0],color[1],-1);
LinkVehicleToInterior(vehicleid,GetPlayerInterior(playerid));
SetVehicleVirtualWorld(vehicleid,GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid, vehicleid, 0);
ToggleDoors(vehicleid);
}
return 1;
}