Detecting
#4

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;
}
Reply


Messages In This Thread
Detecting - by SampStunta - 27.10.2010, 09:22
Re: Detecting - by SampStunta - 27.10.2010, 10:42
Re: Detecting - by Kyle - 27.10.2010, 11:17
Re: Detecting - by randomkid88 - 27.10.2010, 14:57

Forum Jump:


Users browsing this thread: 2 Guest(s)