Mohamed's Account System
[1.0 - Stable] Miami Land Server Source »

Namir

  • Newbie
  • Posts: 11

Mahmoud Tornado

  • Full Member
  • Posts: 220
Re: Mohamed's Account System
« Reply #61,  »
Quote from =RK=MarineForce on July 29th, 2018, 08:53 PM
@Mahmoud Tornado can u save this into cmd i don't know here to add it at line

sell prop

player.Cash += prop[ lpid ].Price;

buy prop


player.Cash -= prop[ lpid ].Price;

how to convert this now
Just add local for prop price
Code: [Select]
local moy = prop[ lpid ].Price;

Then use this..
Code: [Select]
DecCash( player, moy );
To delete cash from the player.
and this
Code: [Select]
IncCash( player, moy );
To add cash to the player.

Alecu Madalin

  • Jr. Member
  • Posts: 52
Re: Mohamed's Account System
« Reply #62,  »
Code: [Select]
plugins sqlite04rel64 squirrel04rel64 announce04rel64 hashing04rel64 xmlconf04rel64

For 64 bit users