01.08.2013, 20:47
Ok , well i want to make someting like
if player have [pFumator] == 1 to show [ YES]
but dont working
for example if is [pFumator] == 1 appear : 68
if == 0 appear 89
here's the code
and the line from stats
if player have [pFumator] == 1 to show [ YES]
but dont working
for example if is [pFumator] == 1 appear : 68

here's the code
Код:
new smtext[20]; if(PlayerInfo[targetid][pFumator] == 1) { smtext = "Yes"; } else if(PlayerInfo[targetid][pFumator] == 0) { smtext = "No"; }
Код:
format(coordsstring, sizeof(coordsstring), "{6600FF}>> {FFFFFF}Urm.Level:[$%d] Respect:[%d/%d] Casa:[%d] Biz:[%d] Int:[%d] SMOKER:[%d] Alcoholic:[%d]",costlevel,exp,expamount,housekey,bizkey,intir,smtext,Alcoholic);