Hello all
At first sorry for my bad english.
I have translated this text with the google translator
I hope you can help me further.
Quote:
GetObjectProperty ent (1, szProperty1);
new Float: = tempm str_to_float (szProperty1);
|
Quote:
if (cs_get_user_money (id) == 16000)
(
return PLUGIN_HANDLED;
)
else
(
cs_set_user_money (id, cs_get_user_money (id) + tempm);
)
|
The problem is with "
tempm" I do not know any way I can pass that value to cs_set_user_money () ...
Get this as the error message.
HTML Code:
Warning: Tag mismatch on line ....
So I know it works if it is not a float ...
However, essential in this case.
I hope you now understand my problem
I want to achieve something in this kind
Quote:
GetObjectProperty ent (1, szProperty1);
new Float: = tempm str_to_float (szProperty1);
new test = 0;
bla bla bla
new temp = test + tempm;
bla bla bla
cs_set_user_money (id, cs_get_user_money (id) + temp);
|
I hope I could describe my lie a little and now i hope for help
Greeting
Nobody