24.02.2012, 19:35
So i have a script, when you type /buy, it does this:
. There's nothing wrong about that but i want it to say how much you have left when you respawn.
Here it goes wrong:
i tried these codes:
It needs to say in a sendclientmessage: "You still have %s cars left!", i only need to know how to get it.
None of them realy worked, the second one gave weird letters like й in the string.
Could you guys help me? Thnx.
---Edit---
I also have (string shadows a variable on a preceding level.).
I think i already got the first question but how do i solve this one?
pawn Код:
PInfo[playerid][boughtcars]++;
Here it goes wrong:
i tried these codes:
pawn Код:
cars = PInfo[playerid][boughtcars]--;
cars = (PInfo[playerid][boughtcars] - 1);
cars = PInfo[playerid][boughtcars] - 1;
None of them realy worked, the second one gave weird letters like й in the string.
Could you guys help me? Thnx.
---Edit---
I also have (string shadows a variable on a preceding level.).
I think i already got the first question but how do i solve this one?