Thread

Problem using aw_citizen_attributes_by_name (Sdk)

Problem using aw_citizen_attributes_by_name // Sdk

1  |  

hightech redneck

Nov 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>

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn