Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Text:Textdraw1[MAX_PLAYERS];
- public OnPlayerConnect(playerid)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName( playerid, name, sizeof(name) );
- format( string, sizeof( string ), "apoc/accounts/%s.ini", name);
- Textdraw1[playerid] = TextDrawCreate(29.000000, 334.000000, name);
- TextDrawBackgroundColor(Textdraw1[playerid], 255);
- TextDrawFont(Textdraw1[playerid], 1);
- TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.000000);
- TextDrawColor(Textdraw1[playerid], 65535);
- TextDrawSetOutline(Textdraw1[playerid], 1);
- TextDrawSetProportional(Textdraw1[playerid], 1);
- TextDrawSetString(Textdraw1[playerid], name);
- PlayerInfo[playerid][pAdminLevel] = 0;
- public OnPlayerSpawn(playerid)
- {
- TogglePlayerClock(playerid, 0);
- SetPlayerColor(playerid, WHITE );
- SetPlayerInterior(playerid,1);
- SetPlayerPos(playerid, 1.3173,29.7461,1199.6012);
- SetPlayerSkin(playerid, 217);
- TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement