When it comes to this line, it's comming up with Command Not known.
#2

pawn Код:
(PlayerInfo[playerid][pbkills]/PlayerInfo[playerid][pbdeaths])
Make sure that pbdeaths is not 0 because a runtime error about diving with 0 will be caused.

pawn Код:
(PlayerInfo[playerid][pbdeaths] != 0) ? floatdiv(PlayerInfo[playerid][pbkills], PlayerInfo[playerid][pbdeaths]) : 0.0
Reply


Messages In This Thread
When it comes to this line, it's comming up with Command Not known. - by Brandon_More - 05.12.2013, 17:45
Re: When it comes to this line, it's comming up with Command Not known. - by Konstantinos - 05.12.2013, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)