Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

(82465) : error 017: undefined symbol "PI"

$
0
0
(82465) : error 017: undefined symbol "PI"
(82465) : warning 215: expression has no effect
(82465) : error 001: expected token: ";", but found "]"
(82465) : error 029: invalid expression, assumed zero
82465) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.




Code:

format(inv_str,sizeof(inv_str),"Health:_%.0f%%~n~_~n~Armor:_%.0f%%~n~_~n~Satiety:_%.0f%%",health, armour, PI[playerid][pHunger]), PlayerTextDrawSetString(playerid,inv_OtherPTD[playerid][3],inv_str);
        format(inv_str,sizeof(inv_str),"~w~%s_(~y~%d~w~)",NamePlayer(playerid),playerid), PlayerTextDrawSetString(playerid,inv_OtherPTD[playerid][4],inv_str);


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>