SA-MP Forums Archive
medical fees warning help +rep - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: medical fees warning help +rep (/showthread.php?tid=529612)



medical fees warning help +rep - UserName31 - 03.08.2014

hey i dont know why am i getting this warning can someone help me fix this please +rep
i mean looks like i have everything rite lol idk?

here code first
PHP код:
AccountInfo[playerid][pBankCash] = GetPlayerMoneyplayerid );
    
GivePlayerMoneyplayerid, ( -( AccountInfo[playerid][pBankCash] * 0.05 ))); 
and warning
PHP код:
Current directoryC:\Users\Elvis JR\Desktop\CNR-rp\gamemodes
1.2
.pwn(3769) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning
.
================ 
READY ================ 



Re: medical fees warning help +rep - ViniBorn - 03.08.2014

Probabily, pBankCash is an integer value...


0.05 is float, you can't use in GivePlayerMoney


Re: medical fees warning help +rep - UserName31 - 03.08.2014

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Probabily, pBankCash is an integer value...


0.05 is float, you can't use in GivePlayerMoney
oh ok thanks lol i tested it with my bro and he lost all of his money jajaja debit $-999999999

+rep