Quote:
Originally Posted by Sreyas
PHP код:
format(string, sizeof(string), "[ 1. %s (%d) ]", GetDrugName(playerid), PlayerInfo[playerid][pDrugAmount][0]);
the function is using playerid as parameter and it should be passed on calling
|
This works only if player have one kind of drug... But if player have 2 or more it will show only one...