Help with my script
#1

Ok i'm making a weapon menu for my server, But..!

I'm using score Points to buy the weapons but i'm having some problems with this.


pawn Код:
if(CurrentMenu == weapons)
        {
    switch(row)
    {
        case 0:
        {
          if(GetPlayerScore(playerid)>100)
          {
            GivePlayerWeapon(playerid,29,200);
            SendClientMessage(playerid,0xFFFF00FF,"[SUCCES]> Weapon Purchased.");
            PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
            return 1;
          }
          else
          {
          SendClientMessage(playerid,0xFF1E00FF,"You need +80 Score points to purchase this item.");
          return 1;
          }

Now its ment to let you buy the weapon with 80 or over score points but it doesn't work atall..

Dunno why, Maybe you no how i can make the code work?

Thanks.
Reply


Messages In This Thread
Help with my script - by Jay. - 08.07.2010, 19:35
Re: Help with my script - by Hiddos - 08.07.2010, 19:38
Re: Help with my script - by Jay. - 08.07.2010, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)