Hi Gumby22don,
please find the function and where the NUll pointer error comes :
function projectile_function()
{
my.polygon = on;
c_setminmax(my);
my.enable_entity = ON;
my.enable_block = ON;
my.event = projectile_event;
my.speed = PROJECTILE_SPEED; // get speed
my.pan = you.pan; // set pan to owners pan
my.force_y = 0;
my.force_z = 0;
my.owned_by_hdl = handle(you);
.....
}
the error comes whereever the You pointer is in the code.
Also please note :
1. The code runs perfectly on SERVER
2. Only on client side does this error comes.
3. I have also put dplay_localfunction =2 so that all codes runs on client and server both.
4. I also used the handle concept to store the you pointer and retreive it in the above function but still the error comes.
I also checked the AUM magazine also they have 2 players fighting with each other. Not a single demo or example showing enemy attacking client/server player !!
I am really confused as have been using from A4 version but this is just too basic that the there had to be some simple way of making a MP shooter FPS !!
Sichlid