SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 18/07/2019, 08:55 PM   #1
GasparzinhoXD
Huge Clucker
 
Join Date: Oct 2017
Posts: 215
Reputation: 2
Default Como eu faço essa conta?

Estou tentando fazer essa conta:

PHP Code:
new conta 5000*0.030
Mas está dando este erro:

Code:
warning 213: tag mismatch
Como eu consigo resolver?
GasparzinhoXD is offline   Reply With Quote
Old 18/07/2019, 09:06 PM   #2
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 283
Reputation: 39
Default Re: Como eu faço essa conta?

PHP Code:
new Floatconta float(5000) * 0.03
1sbedx is offline   Reply With Quote
Old 18/07/2019, 09:24 PM   #3
GasparzinhoXD
Huge Clucker
 
Join Date: Oct 2017
Posts: 215
Reputation: 2
Default Re: Como eu faço essa conta?

Ainda continua o erro :/
GasparzinhoXD is offline   Reply With Quote
Old 18/07/2019, 09:40 PM   #4
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 283
Reputation: 39
Default Re: Como eu faço essa conta?

Quote:
Originally Posted by GasparzinhoXD View Post
Ainda continua o erro :/
PHP Code:
new conta floatround(floatmul(50000.03)); 
1sbedx is offline   Reply With Quote
Old 18/07/2019, 11:32 PM   #5
willttoonn
Gangsta
 
willttoonn's Avatar
 
Join Date: Nov 2011
Location: Brazil
Posts: 920
Reputation: 88
Default Re: Como eu faço essa conta?

pawn Code:
new Float:conta = 5000.0*0.030;
__________________
Sometimes a captain has to make the unpopular call because that's his responsibility

Advanced Roleplay - Management and Head Developer
Brazilian Hard Roleplay Server


willttoonn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Como faço essa tela de login funcionar DesenvolvedorGB Português/Portuguese 1 27/05/2017 03:29 AM
[Ajuda] como eu faço essa textdraw? mitsumyy Português/Portuguese 4 12/03/2014 06:52 PM
[Ajuda] Odeio essa warning,como faço tirar? [BGSL]Manoel Ski Português/Portuguese 4 29/04/2011 11:41 PM
[PEDIDO]Como eu faço essa bagaça pessoal ? Adriano499 Português/Portuguese 13 09/03/2011 01:52 PM
[DUV] Como faço ? Colider Tec Help Archive 0 13/05/2010 09:51 PM


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.