can someone help me with this?

Kei

New member
Messages
101
Points
0
i have this patch from annieruru but i'm having an error

when i recompile i have this warning 

status.c: In function 'status_calc_pc_':status.c:2460: warning: implicit declaration of function 'npc_script_event'

this is the script i'm having to have the stats but i don't get any

- script kjfhsdfkjhsd -1,{OnPCStatCalcEvent:    if ( strcharinfo(3) == "prontera" ) // permanently increase 100 str as long as staying in prontera        bonus bstr, 100;    if ( strcharinfo(0) == "Admin" ) // permanently increase 200 agi if the player name Annieruru (me xD)        bonus bagi, 200;    end;}
OnPCStatCalcEvent.patch

 

Attachments

Last edited by a moderator:
just change

npc_script_event( sd, NPCE_STATCALC ); 



to

Code:
npc->script_event( sd, NPCE_STATCALC ); 
 
Back
Top