OnPlayerConnect Skin help
#3

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(YourAdminVariable[playerid] >= 1)
    {
        SetPlayerSkin(playerid,217);
        GivePlayerWeapon(playerid,38,5000);
        GivePlayerWeapon(playeird,16,5000);
    }
return 1;
}
And for pink chat...
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(YourAdminVariable[playerid] >= 1)
    {
        new
        szMsg[128]
        ;
        GetPlayerName(playerid, szMsg, MAX_PLAYER_NAME);
        format(szMsg, sizeof(szMsg), "Administrator %s %s", szMsg, text);
        SendClientMessageToAll(0xFF66FFAA, text);
        return 0;
    }
    return 1;
}
Simple as that.
Reply


Messages In This Thread
OnPlayerConnect Skin help - by Private200 - 29.07.2012, 12:17
Re: OnPlayerConnect Skin help - by KingyKings - 29.07.2012, 12:26
Re: OnPlayerConnect Skin help - by Littlehelper - 29.07.2012, 12:30
Re: OnPlayerConnect Skin help - by Private200 - 29.07.2012, 12:42
Re: OnPlayerConnect Skin help - by Devilxz97 - 29.07.2012, 12:44
Re: OnPlayerConnect Skin help - by Private200 - 29.07.2012, 12:47
Re: OnPlayerConnect Skin help - by KingyKings - 29.07.2012, 12:49
Re: OnPlayerConnect Skin help - by Littlehelper - 29.07.2012, 12:51
Re: OnPlayerConnect Skin help - by Devilxz97 - 29.07.2012, 12:52
Re: OnPlayerConnect Skin help - by Private200 - 29.07.2012, 12:53

Forum Jump:


Users browsing this thread: 2 Guest(s)