I'm not exactly sure how to use this function in dodfun.
Function:
Quote:
|
Originally Posted by DoDFun
/* Gets player team name */
native dod_get_pl_teamname(index,szName[],len);
|
Here's my guess..
Code:
new axis[33];
new allies[33];
if(dod_get_pl_teamname(index, allies, 32);
{
// stuff
}
What I want to do is get which team they are on, and do stuff depending on which one they are on.
__________________