Quote:
Originally Posted by tuty
-.- here is the working version

|
Thanks,i saw the things that were bad or wrong in my code!But i can't understand one thing:
What exactly is this 1???Where this helps??
Quote:
|
cs_set_user_money(id, money - cost, 1);
|
And why don't you have it here in drink,but only in food?
Quote:
|
cs_set_user_money(id, money - cost);
|
And why don't you use "else"?If i put "else over this:
Quote:
cs_set_user_money(id, money - cost);
set_user_health(id, get_user_health(id) + 30 );
set_user_gravity(id, 0.70 );
client_print(id, print_chat, "Molis agorases mia coca cola max!Eisai sta alitheia esy? ");
|
What will happen??How this works without else??o0