ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Problem using aw_citizen_attributes_by_name (Sdk)
Problem using aw_citizen_attributes_by_name // Sdkhightech redneckNov 30, 1998, 12:09am
Hi I'm noticing some very odd things happening when I use the code below to
get the cit number for someone. For normal cits it say they aren't cits some times but other times it will work perfectly fine. It's thourougly confusing me to say the least. Any help would be appretiated. <Start> if (aw_citizen_attributes_by_name (av_name)) printf ("%s isn't a citizen\n", av_name); else { printf ("%s's cit# is %d\n",av_name, aw_int (AW_CITIZEN_NUMBER)); cit_num = aw_int (AW_CITIZEN_NUMBER); } <End> |