score xp thing
#3

if you want to make it to save, you have to use a dini , y_ini or any file/database creator
also, if you want to don't save
use

pawn Код:
enum sD
      {
          XP
       }
      new DF[MAX_PLAYERS][sD];

     //after OnPlayerDeath
     public OnPlayerDeath(playerid,killerid,reason)
     {
             DF[killerid][XP] += 1;
            SetPlayerScore(killerid,GetPlayerScore(killerid)+DF[killerid][XP]);
         return 1;
     }
with a enum , and knowing the variables, and file saver, textdraw using you can make your own best system
Reply


Messages In This Thread
score xp thing - by CrazyChoco - 23.08.2012, 22:25
Re: score xp thing - by Shetch - 23.08.2012, 22:27
Re: score xp thing - by XStormiest - 23.08.2012, 22:30
Re: score xp thing - by CrazyChoco - 23.08.2012, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)