Help Me With Coin System
#3

this a help section you need to provide some code !

at least make the textdraw!

then save them into a player variable
pawn Code:
new pPlayerXp[MAX_PLAYERS];

stock GivePlayerXP(playerid,XP)
{
      pPlayerXp[playerid] += XP;
      return 1;
}
stock RemovePlayerXP(playerid,XP)
{
      pPlayerXp[playerid] -= XP;
      return 1;
}
stock ResetPlayerXP(playerid,XP)
{
      pPlayerXp[playerid] =0;
      return 1;
}
stock UpdatePlayerXP(playerid,XP)
{
      new Str[20];format(Str, sizeof Str, "XP: %d", pPlayerXp[playerid]);
      TextDrawSetString(YourTextdrawID, Str);  
      return 1;
}
that will get you started
Reply


Messages In This Thread
Help Me With Coin System - by xFirex - 13.06.2013, 08:31
Re: Help Me With Coin System - by xFirex - 13.06.2013, 08:49
Re: Help Me With Coin System - by park4bmx - 13.06.2013, 08:55
Re: Help Me With Coin System - by Pottus - 13.06.2013, 09:04
Re: Help Me With Coin System - by xFirex - 13.06.2013, 09:13

Forum Jump:


Users browsing this thread: 1 Guest(s)