One easy question
#1

i have a code new cashmade = PlayerInfo[playerid][pFishLoads]*6; .
It multiply with 6 , but i like to make that it multiply with 6.25 . I tryed to put * 6.25 , 6,25 ,but then pawno shows just a error .
Mabye anyone can help ?
Reply
#2

Really anyone dont know how to get it work ?
Reply
#3

cashmade variable needs to be a float type, you need to put the float tag before it.
Reply
#4

Thanx for answering , but something i still wrong . Pawno still shows same error if i do like this
Код:
new Float:cashmade = PlayerInfo[playerid][pFishLoads]*6.25;
Error : (4849 : warning 213: tag mismatch
Reply
#5

bump
Reply
#6

new Float:cashmade = (float(PlayerInfo[playerid][pFishLoads]) * 6.25);
Reply
#7

Quote:
Originally Posted by Finn
new Float:cashmade = (float(PlayerInfo[playerid][pFishLoads]) * 6.25);
still same error : Error : (4849 : warning 213: tag mismatch
Reply
#8

How about

pawn Код:
new Float:cashmade = PlayerInfo[playerid][pFishLoads]*25/4;

Reply
#9

Quote:
Originally Posted by Jay420
How about

pawn Код:
new Float:cashmade = PlayerInfo[playerid][pFishLoads]*25/4;

Jay420 Please PM me your MSN.
Reply
#10

Quote:
Originally Posted by spaceflame784
Quote:
Originally Posted by Jay420
How about

pawn Код:
new Float:cashmade = PlayerInfo[playerid][pFishLoads]*25/4;

Jay420 Please PM me your MSN.
Still same error , i dont understand what is wrong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)