medical fees warning help +rep
#1

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 ================ 
Reply
#2

Probabily, pBankCash is an integer value...


0.05 is float, you can't use in GivePlayerMoney
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)