12.02.2010, 14:00
Quote:
Originally Posted by VonLeeuwen
You used stock? So the script knows what PlayerHasNameTag means?
|
Hey, I need something that checks the tag of a player (I'm using gTeam)...
If you need my script:
pawn Код:
#include <a_samp>
#define NWA 1
#define PLAYER 2
new gTeam[MAX_PLAYERS];
public OnPlayerRequestClass(playerid, classid)
{
if(PlayerHasNameTag(playerid, "[NWA]"))// The Function
{
gTeam[playerid] = NWA;
}
else
{
gTeam[playerid] = PLAYER;
}
return 1;
}