warning 202: number of arguments does not match definition
#3

cache_get_field_content is used to retrieve string. The way pawn works we can not assign result directly to array/string so we need to pass it inside function and return result by reference (thats what plugin does).

So basically you use cache_get_field_content as: (I take it that C_UTS is a string)
pawn Код:
cache_get_field_content( 0, "C_UTS", P_DATA[playerid][C_UTS]);
While for integers and floats you do it normal (your) way, like:
pawn Код:
P_DATA[playerid][pClanTag] = cache_get_field_content_int(0, "ClanTagPos");
P_DATA[playerid][pClanRank] = cache_get_field_content_float(0, "ClanRank");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)