WhoreShop
#9

pawn Код:
public OnPlayerSpawn(playerid)
{  if(pdebug == 1){printf("[DEBUG] OnPlayerSpawn(%d)", playerid);}

    // Normal stuff:
    SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
    SetPlayerArmour(playerid, PlayerInfo[playerid][pArmour]);
 
    StopSoundForPlayer(playerid);
   
    gTeam[playerid] = PlayerInfo[playerid][pTeam]; // Set the player in a team.
   
    SetPlayerSpawn(playerid); // Set the player's spawn place.
    SetPlayerWeapons(playerid); // Set the player's spawn weapons.
    SetPlayerTeamColor(playerid); // Set the player's spawn color.
   
    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);

    // To sync mission checkpoints.
    if(CheckpointBusyX != 0.0 && CheckpointBusyY != 0.0 && CheckpointBusyZ != 0.0){SetPlayerCheckpoint(playerid, CheckpointBusyX, CheckpointBusyY, CheckpointBusyZ, CheckpointBusyS);}
   
    if(PlayerLoggedIn[playerid] == 0){GameTextForPlayer(playerid, "~w~Welcome,~n~In order to play you need to create an account, type ~n~~r~/register (password)~w~ to register.", 20000, 4);} // did stolen it from PEN :D
    return 1;
}
Reply


Messages In This Thread
WhoreShop - by sjvt - 13.04.2010, 19:17
Re: WhoreShop - by Jay420 - 13.04.2010, 19:38
Re: WhoreShop - by playbox12 - 13.04.2010, 19:52
Re: WhoreShop - by sjvt - 13.04.2010, 20:12
Re: WhoreShop - by sjvt - 13.04.2010, 20:12
Re: WhoreShop - by sjvt - 13.04.2010, 20:47
Re: WhoreShop - by Steven82 - 14.04.2010, 00:35
Re: WhoreShop - by Steven82 - 14.04.2010, 01:32
Re: WhoreShop - by sjvt - 14.04.2010, 15:15
Re: WhoreShop - by sjvt - 14.04.2010, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)