Quote:
Originally posted by mhermher
Hi, can anyone help me with this?
I knwo there aint any commands like playerlaysgoldrupee or stuff,
btu i need it to work that if you lay an goldrupee client.string will reduce with 100 and same with toehr rupees
heres what i got so far
[CODE]// NPC made by GÄ$†£Ÿ -Testing-
if (playerenters) {
toweapons -moneysystem;
}
if (timeout) {
playerrupees=client.money;
}
timeout=0.05;
if (timeout) {
if (playerlaysgoldrupee&&client.money>99) {
client,money-=100;
}
if (playerlaysredrupee&&client.money>29) {
client,money-=30;
}
if (playerlaysgreenrupee&&client.money>0) {
client,money-=1;
}
if (playerlaysbluerupee&&client.money>4) {
client,money-=5;
}
}CODE]
ANd its not gonna use putNPC cuz its p2p and it will cause lag with gralat system, so is there a way to do it? that if you drop 1 gold rupee client.money will reduce with 100
Thanks
|
all i see is that you got a client variable increasing whenever the player drops money, for that i cant see a reason for