is here somethinge wrong ?
hi, a would like ask you what is here wrong?
PHP Code:
|
Re: is here somethinge wrong ?
Code:
Really? Why not just check if the amount is numeric? Code:
This + the else will never be called because you're preventing the rest of the code from executing by doing what you did above. |
Re: is here somethinge wrong ?
how can i chect it ?
and it is called becouse in start before containi... is PHP Code:
|
Re: is here somethinge wrong ?
I don't get it
|
Re: is here somethinge wrong ?
make const of all your letter or whatever and then make FOR for all of the const DONE
|
Re: is here somethinge wrong ?
But how can i do this, for example. If(sprava >= usermonez) ? This dpnt work
|
Re: is here somethinge wrong ?
Go read some tutorials on pawn basics before attempting to code, there's plenty on these forums.
|
Re: is here somethinge wrong ?
Explain what you actually want to achieve.
|
Re: is here somethinge wrong ?
Bank this is function called on messagemod Body_Vloz
|
Re: is here somethinge wrong ?
You could run a simple check like !str_to_num() instead of having all of that ridiculous code. Also you do realise that || means or? Which means that your function would never reach the rest of the code as Backstabnoob said?
|
| All times are GMT -4. The time now is 10:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.