05.04.2014, 06:01
Quote:
you are close enough though.
Read this: https://sampwiki.blast.hk/wiki/OnPlayerRequestClass so here, pawn Код:
if the value of pFaction is not equal to that value required to be in this team deny the spawn. else go for it. |
pawn Код:
if(classid == 2 && PlayerInfo[playerid][pFaction] == 1)
{
GameTextForPlayer(playerid, "~r~ Fucker Team", 9999999, 6);
// Your codes
} else SendClientMessage(playerid, 0xFF0000FF, "Fuck you, you aren't registered on fucker team.");