Okay I saw that, but it still crashes:
Code:
typedef struct sZoneMove
{
var zMove;
var zRotate;
} sZoneMove;
sZoneMove sZone1Move1;
sZoneMove* pZoneMove;
function sendVarZone(sZoneMove *var, var zoneNum)
{
//the crash happens as soon as sendVarZone is called, nothing ever happens in here
}
....
sendVarZone(pZoneMove,my.zone);
Try it yourself really quick, and you'll see what i mean.