Hallo ich will mehrere Coords in ein Befehl einbinden.
Ganz oben: new wkammerX[16][0] = {
{140.2866},
{233.9003},
{-227.027999},
{488.5065},
{2495.2959},
{2808.2705},
{1204.8099},
{761.412963},
{1440.191650},
{327.9000},
{260.7259},
{-329.6725},
{2269.7395},
{27.2951},
{964.3590},
{943.2697}
};
new wkammerY[15][0] = {
{1366.8580},
{1064.5613},
{1401.229980},
{-82.2111},
{-1688.9973},
{-1169.3121},
{-11.5868},
{1440.191650},
{1478.3000},
{1237.8364},
{-75.3313},
{1536.7075},
{1341.6196},
{2107.8860},
{-50.7223}
};
new wkammerZ[15][0] = {
{1083.8594},
{1084.2111},
{27.765625},
{998.7578},
{14.1556},
{1025.5703},
{1000.9219},
{1102.703125},
{1084.4375},
{1084.2578},
{26.7724},
{76.6117},
{1084.3750},
{1011.0303},
{1001.1172}
};
// ^---- Hier bei JEDEM Tag mismatch Warning.
unten
//--Fraktions-Waffen-System (Fraktionskassengefüll)
if(strcmp(cmd, "/waffenkammer", true) == 0)
{
if(!IsAGang(playerid))
{
SendClientMessage(playerid,COLOR_GRAD1, "Du bist in keiner Gang mit einer Waffenkammer!");
return 1;
}
if(PlayerToPoint(3.0,playerid,wkammerX,wkammerY,wkammerZ))
{
ShowPlayerDialog(playerid,235688,DIALOG_STYLE_LIST,"Waffenkammer","Deagle (50 Schuss)(350$)\nMP5 (120 Schuss)(500$)\nM4 (100 Schuss)(2000$)\nSniper(15 Schuss)(5000$)","Kaufen","Abbrechen");
return 1;
}
else
{
SendClientMessage(playerid,COLOR_GRAD1, " Du bist nicht in deinem Spawn-Punkt!");
return 1;
}
}
C:\Users\Marcel\Desktop\GRZ.pwn(40566) : error 035: argument type mismatch (argument 3)
Danke schonmal im Vorraus. Gute Nacht und schlaft gut