27.10.2010, 14:57
Look for the [SAPD] in their name using strfind, and then you can use it to set their team and skin.
pawn Код:
OnPlayerConnect(playerid)
{
new pName[24];
GetPlayerName(playerid, pName, sizeof(pName));
if(strfind(pName, "[SAPD]", false) != -1)
{
// set skin and team here
}
return 1;
}