[Ajuda] Problema para a arvore crescer
#2

pawn Код:
forward PLARANJA(playerid);
public PLARANJA(playerid)
{
    new Float:x,Float:y,Float:z,Float:PposA;
    GetPlayerFacingAngle(playerid, PposA);
    x+= (3 * floatsin(-PposA, degrees));
    y += (3 * floatcos(-PposA, degrees));
    GetObjectPos(ProxyArv[playerid][ArvoreObject2] , x , y , z);
    CreatePLaranja(x,y,z);
    DestroyObject(ProxyArv[playerid][ArvoreObject2]);
    return 1;
}
Nгo seria?

pawn Код:
forward PLARANJA(playerid);
public PLARANJA(playerid)
{
    new Float:x,Float:y,Float:z,Float:PposA;
    GetPlayerFacingAngle(playerid, PposA);
    x+= (3 * floatsin(-PposA, degrees));
    y += (3 * floatcos(-PposA, degrees));
    GetObjectPos(ProxyArv[playerid][ArvoreObject2][tarvore] , x , y , z);
    CreatePLaranja(x,y,z);
    DestroyObject(ProxyArv[playerid][ArvoreObject2][tarvore]);
    return 1;
}
Reply


Messages In This Thread
Problema para a arvore crescer - by SkullFire - 30.04.2014, 00:09
Re: Problema para a arvore crescer - by yiakin - 30.04.2014, 00:16
Respuesta: Problema para a arvore crescer - by SkullFire - 30.04.2014, 01:20
Respuesta: Problema para a arvore crescer - by SkullFire - 30.04.2014, 15:02
Re: Problema para a arvore crescer - by yiakin - 30.04.2014, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)