25.02.2014, 18:02
He means, decrease the Object Pos Z, because GetPlayerPos gets the position from the players body, try this code, if it's too low increase it, just do some experiment.
pawn Код:
stock CreateCone(playerid, Float:x, Float:y, Float:z, Float:Angle)
{
for(new i = 0; i < sizeof(cInfo); i++)
{
if(!cInfo[i][cCreated])
{
cInfo[ i ][ cCreated ] = 1;
cInfo[ i ][ cOwner ] = playerid;
cInfo[ i ][ cObject ] = CreateObject(1238, x, y, z - 0.8, 0.0, 0.0, Angle);
return 1;
}
}
return 0;
}
