19.07.2017, 17:31
Okay, that's a pretty simple command:
Код:
if (strcmp("/army", cmdtext, true, 10) == 0)
{
if(GetPlayerTeam(playerid) == 9)//If his team equals 9 (Army)
{
SendClientMessage(playerid,0,"You are in the army");
}else{ // else (His team NOT equals 9
SendClientMessage(playerid,0,"You are NOT in the army!");
}
return 1;
}

