[Ajuda] RNPC + MapAndreas..
#3

Ta dando crash por causa da funзгo MapAndreas_FindZ_For2DCoord oque pode ser??

pawn Код:
public OnPlayerUpdate(playerid) {
    if(IsPlayerNPC(playerid)) {
        new Float: p[3];
        GetPlayerPos(playerid,p[0],p[1],p[2]);
        new Float:z;
        MapAndreas_FindZ_For2DCoord(p[0],p[1], z);

        if(p[2] > z) {
            SetPlayerFindPosZ(playerid,p[0],p[1]);
        }
    }
    return 1;
}

stock SetPlayerFindPosZ(playerid, Float:x, Float:y) {
    new Float:z;
    MapAndreas_FindZ_For2DCoord(x, y, z);
    SetPlayerPos(playerid, x, y, z);
}
Reply


Messages In This Thread
RNPC + MapAndreas.. - by HumildadeAgain - 26.02.2013, 02:42
Re: RNPC + MAPANDREAS.. - by zSuYaNw - 26.02.2013, 04:34
Re: RNPC + MAPANDREAS.. - by HumildadeAgain - 26.02.2013, 14:01
Re: RNPC + MAPANDREAS.. - by RebeloX - 26.02.2013, 14:21
Re: RNPC + MAPANDREAS.. - by HumildadeAgain - 26.02.2013, 14:22
Re: RNPC + MapAndreas.. - by RebeloX - 26.02.2013, 14:24
Re: RNPC + MapAndreas.. - by HumildadeAgain - 26.02.2013, 14:27
Re: RNPC + MapAndreas.. - by RebeloX - 26.02.2013, 14:34
Re: RNPC + MapAndreas.. - by HumildadeAgain - 26.02.2013, 14:44
Re: RNPC + MapAndreas.. - by RebeloX - 26.02.2013, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)