28.10.2010, 19:52
Код:
new Float:Bombenpkt[14][3] = { {284.11062622,1742.19189453,19.10804176}, {190.96379089,1690.42700195,19.10804176}, {136.22543335,1741.16479492,19.10804176}, {28.86712074,1674.37341309,19.10804176}, {-19.31500053,1742.93286133,19.10804176}, {48.79174805,1813.67553711,19.10804176}, {-4.14370537,1905.34301758,19.10804176}, {74.65625763,1964.73071289,19.10804176}, {111.43378448,2096.27416992,19.10804176}, {258.37670898,2107.98120117,19.10804176}, {397.12628174,2084.69531250,19.10804176}, {413.42593384,1954.53125000,19.10804176}, {361.07113647,1842.04956055,19.10804176}, {344.92239380,1797.48559570,19.10804176} }; Next part: public MineExplode(playerid) { if(IsPlayerInRangeOfPoint(playerid, 10, Bombenpkt[0], Bombenpkt[1], Bombenpkt[2]))// Error 035: argument type mismatch (argument 3) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); CreateExplosion(x, y, z, 2, 10); SendClientMessage(playerid, COLOR_RED, "Du bist in eine Mine geraten. Die Mainbase ist ein gefдhrlicher Ort! Halte dich fern!"); return 1; } }