Mohamed's Account System

Started by Mohamed Boubekri, Feb 15, 2018, 06:13 PM

Previous topic - Next topic

Namir

@=RK=MarineForce learn squirtrel and make it urself bro

Mahmoud Tornado

Quote from: =RK=MarineForce on Jul 29, 2018, 07: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
local moy = prop[ lpid ].Price;
Then use this..
DecCash( player, moy ); To delete cash from the player.
and this IncCash( player, moy ); To add cash to the player.

Alecu Madalin

plugins sqlite04rel64 squirrel04rel64 announce04rel64 hashing04rel64 xmlconf04rel64
For 64 bit users