viewing paste pvp kill/die get point | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
-   script  pvp_point   -1,{
OnPCKillEvent:
    sleep2 1;
    if( getmapflag( strcharinfo(3),mf_pvp ) ){
        set #KAFRAPOINTS,#KAFRAPOINTS + 2;
        set #CASHPOINTS,#CASHPOINTS + 2;
    }
    end;
 
OnPCDieEvent:
    sleep2 1;
    if( getmapflag( strcharinfo(3),mf_pvp ) ){
        set #KAFRAPOINTS,#KAFRAPOINTS - 1;
        set #CASHPOINTS,#CASHPOINTS - 1;
    }
    end;
}
Viewed 1055 times, submitted by Emistry.