Disarm players on login
#6

My onplayerconnect:

pawn Код:
public OnPlayerConnect(playerid)
{
    new string[128];
    format(string, sizeof(string), "~r~Welcome to Xtreme Stunts!~n~~n~Please start with reading the /rules");
    GameTextForPlayer(playerid, string, 10000, 4);
    SetPlayerColor(playerid, PlayerColors[playerid]);
    IsInDM[playerid] = 0;
    AutoRepairUsed[playerid] = 0;
    AutoRepairTrigger[playerid] = 0;
    SendClientMessage(playerid, 0x99FFFFAA, "This server has auto repair/flip");
    SendClientMessage(playerid, 0x99FFFFAA, "Welcome! Hope you enjoy your stay!");
    nojump2[playerid] = 0;
    TextDrawShowForPlayer(playerid, Textdraw1);
   
    ReceiveInfo[playerid] = true;

    if(IsVoteKickStarted == true)
    {
        TextDrawShowForPlayer(playerid, Background); //Prevent bugs in case a player connect while a votekick is started
        TextDrawShowForPlayer(playerid, VoteKickTitle);
        TextDrawShowForPlayer(playerid, VoteKickName);
        TextDrawShowForPlayer(playerid, VoteKickVote);
        TextDrawShowForPlayer(playerid, VoteKickTime);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Disarm players on login - by ColdIce - 08.07.2011, 16:30
Re: Disarm players on login - by iggy1 - 08.07.2011, 16:42
Re: Disarm players on login - by ColdIce - 08.07.2011, 16:52
Re: Disarm players on login - by ColdIce - 08.07.2011, 22:51
Re: Disarm players on login - by PrawkC - 08.07.2011, 22:57
Re: Disarm players on login - by ColdIce - 08.07.2011, 23:11
Re: Disarm players on login - by ColdIce - 09.07.2011, 17:31
Re: Disarm players on login - by ColdIce - 10.07.2011, 23:01
Re: Disarm players on login - by Basicz - 10.07.2011, 23:06
Re: Disarm players on login - by ColdIce - 11.07.2011, 09:09

Forum Jump:


Users browsing this thread: 1 Guest(s)