MineExplode-Script - 1 Error
#1

Hello,


here's my problem:


pawn Код:
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]))// EDIT at this line.. But it don't dixed the 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;
    }
}
Any solutions? I don't want to make random explodings.. When a player enter this point he will explode.


Thanks!
Reply


Messages In This Thread
MineExplode-Script - 1 Error - by XCarBOn - 28.10.2010, 19:42
Re: MineExplode-Script - 1 Error - by MJ! - 28.10.2010, 19:49
Re: MineExplode-Script - 1 Error - by Hornet600 - 28.10.2010, 19:50
Re: MineExplode-Script - 1 Error - by Mike_Peterson - 28.10.2010, 19:52
Re: MineExplode-Script - 1 Error - by XCarBOn - 28.10.2010, 19:53
Re: MineExplode-Script - 1 Error - by Nero_3D - 28.10.2010, 20:13

Forum Jump:


Users browsing this thread: 1 Guest(s)