Hallo Leute habe die Warnings schon lange und sie nerven richtig aber was ist falsch
Der Befehl und der Warning ist beim Timer
if(strcmp(cmdtext,"/zoll",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,10,1722.1999512,506.2000122,28.8999996) || IsPlayerInRangeOfPoint(playerid,10,1696.6999512,423.2999878,30.7000008))
{
MoveObject(zoll1[0],1722.1999512,506.2000122,28.8999996-10,5);
MoveObject(zoll1[1],1726.0000000,504.8999939,29.0000000-10,5);
MoveObject(zoll2[2],1696.6999512,423.2999878,30.7000008-10,5);
MoveObject(zoll2[3],1689.0000000,426.2000122,30.7000008-10,5);
SetTimer("zolltimer",5000,0);
return 1;
}
return 1;
}
public zolltimer()
{
new playerid;
if(IsPlayerInRangeOfPoint(playerid,10,1722.1999512,506.2000122,28.8999996) || IsPlayerInRangeOfPoint(playerid,10,1696.6999512,423.2999878,30.7000008))
{
MoveObject(zoll1[0],1722.1999512,506.2000122,28.8999996-10,5);
MoveObject(zoll1[1],1726.0000000,504.8999939,29.0000000-10,5);
MoveObject(zoll2[2],1696.6999512,423.2999878,30.7000008-10,5);
MoveObject(zoll2[3],1689.0000000,426.2000122,30.7000008-10,5);
return 1;
}
return 1;
}
Der dazugehörige Warning
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(526) : warning 235: public function lacks forward declaration (symbol "zolltimer")
und bei den Skins ist auch ein Warning
(einmal beim laden)
if(dini_IntSet(Spielerdatei,"Skin")>=0)//hier
{
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:{}
case 1:{SetPlayerPos(playerid,lspdspawn);}
case 2:{SetPlayerPos(playerid,armyspawn);}
case 3:{SetPlayerPos(playerid,fbispawn);}
case 4:{SetPlayerPos(playerid,vagosspawn);}
}
}
if(dini_IntSet(Spielerdatei,"Skin",0))
{
SetPlayerPos(playerid,1714.6899,-1887.3751,13.5666);
SetPlayerFacingAngle(playerid,352.5145);
SetPlayerCameraPos(playerid,1715.5356,-1880.0370,13.5664);
SetPlayerCameraLookAt(playerid,1714.6899,-1887.3751,13.5666);
}
der Warining dazu C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(558) : warning 202: number of arguments does not match definition
und bei den skin ausgaben
da
if(dialogid==DIALOG_AKLEIDER)
{
if(IsPlayerInFrakt(playerid,2))
{
if(response==0)
{
}
if(response==1)
{
if(listitem==0)
{
SetPlayerSkin(playerid,179);
SetPVarInt(playerid,"Skin",Skin);//hier
SpielerSpeichern(playerid);
}
if(listitem==1)
{
SetPlayerSkin(playerid,287);
SetPVarInt(playerid,"Skin",Skin);//hier
SpielerSpeichern(playerid);
}
if(listitem==2)
{
SetPlayerSkin(playerid,191);
SetPVarInt(playerid,"Skin",Skin);//hier
SpielerSpeichern(playerid);
}
if(listitem==3)
{
SetPlayerSkin(playerid,121);
SetPVarInt(playerid,"Skin",Skin);//diese Zeiler
SpielerSpeichern(playerid);
}
}
return 1;
}
return 1;
}
der warning
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(2052) : warning 213: tag mismatch
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(2058) : warning 213: tag mismatch
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(2064) : warning 213: tag mismatch
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(2070) : warning 213: tag mismatch
hoffentlich könnt ihr mir helfen