Szerző Téma: PPC_trucking ezt hogy kell kiszedni?  (Megtekintve 1630 alkalommal)

Nem elérhető Xenon

  • 172
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Dátum: 2012. Március 03. - 20:30:12 »
0 Show voters
ezt hogy kell kiszedni hogy ne írja mellé? akármit beírok szervernévnek ez jön
\"QEBAWEtvAwMHU1pIRwVQ\"

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #1 Dátum: 2012. Március 03. - 20:31:22 »
0 Show voters
OnPlayerConnect alatt mi van?

Nem elérhető Xenon

  • 172
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #2 Dátum: 2012. Március 03. - 20:38:26 »
0 Show voters
// This callback gets called when a player connects to the server
public OnPlayerConnect(playerid)
{
// Always allow NPC\'s to login without password or account
if (IsPlayerNPC(playerid))
   return 1;
// Setup local variables
new Name[MAX_PLAYER_NAME], NewPlayerMsg[128], HouseID;
// Setup a PVar to allow cross-script money-transfers (only from filterscript to this mainscript) and scorepoints
SetPVarInt(playerid, \"PVarMoney\", 0);
SetPVarInt(playerid, \"PVarScore\", 0);
// Get the playername
GetPlayerName(playerid, Name, sizeof(Name));
// Also store this name for the player
GetPlayerName(playerid, APlayerData[playerid][PlayerName], 24);
// Send a message to all players to let them know somebody else joined the server
format(NewPlayerMsg, 128, TXT_PlayerJoinedServer, Name, playerid);
SendClientMessageToAll(0xFFFFFFFF, NewPlayerMsg);
// Try to load the player\'s datafile (\"PlayerFile_Load\" returns \"1\" is the file has been read, \"0\" when the file cannot be read)
if (PlayerFile_Load(playerid) == 1)
{
   // Check if the player is still banned
   if (APlayerData[playerid][banTime] < gettime()) // Player ban-time is passed
      ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
   else // Player is still banned
   {
      ShowRemainingBanTime(playerid); // Show the remaining ban-time to the player is days, hours, minutes, seconds
      Kick(playerid); // Kick the player
   }
}
else
   ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);
// The houses have been loaded but not the cars, so load all vehicles assigned to the player\'s houses
for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++)
{
    // Get the HouseID from this slot
    HouseID = APlayerData[playerid][Houses][HouseSlot];
    // Check if there is a house in this slot
   if (HouseID != 0)
       HouseFile_Load(HouseID, true); // Load the cars of the house
}
// Speedometer setup
Speedometer_Setup(playerid);
// MissionText TextDraw setup
APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, \" \"); // Setup the missiontext at the bottom of the screen
TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center
TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box
TextDrawBoxColor(APlayerData[playerid][MissionText], 0x00000066); // Set the box color of the missiontext
// Display a message if the player hasn\'t accepted the rules yet
if (APlayerData[playerid][RulesRead] == false)
    SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Szerveren van rádió: /radio\");
    SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Szerveren folyamatos fejlesztés van.\");
    SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}így lehetnek bugok,angol szövegek\");
    SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Kellemes játékot\");
return 1;
}
[/quote]

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #3 Dátum: 2012. Március 03. - 20:40:49 »
0 Show voters
Akkor ez szerintem valamelyik includeban van, mert itt nem találom.

Nem elérhető [sdc]skyline

  • 1333
  • ςκyΙιηε
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #4 Dátum: 2012. Március 03. - 20:41:48 »
0 Show voters
Itt én se. Küldj linket a Game módrol vagy miez.

Nem elérhető Xenon

  • 172
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #5 Dátum: 2012. Március 03. - 20:42:56 »
0 Show voters
ςκyΙιηε küldök inc csomagot okés?

Nem elérhető [sdc]skyline

  • 1333
  • ςκyΙιηε
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #6 Dátum: 2012. Március 03. - 20:45:09 »
0 Show voters
Ezt a PPC Trucking módot küld el.

Nem elérhető Xenon

  • 172
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #7 Dátum: 2012. Március 03. - 20:48:16 »
0 Show voters
http://www.2shared.com/file/L2dhVKOl/PPC_Trucking.html

Dupla hozzászólás automatikusan összefûzve. ( 2012. Március 03. - 21:06:04 )

na?
« Utoljára szerkesztve: 2012. Március 03. - 21:06:04 írta Xenon »

Nem elérhető Exec$

PPC_trucking ezt hogy kell kiszedni?
« Válasz #8 Dátum: 2012. Március 04. - 09:39:32 »
0 Show voters
Igen Xenon, menny bele a pawnoban majd include mappa és a Deftext -be találod meg pontosan a tetején vagy átírod vagy kitörlõd!

Nem elérhető Xenon

  • 172
    • Profil megtekintése
PPC_trucking ezt hogy kell kiszedni?
« Válasz #9 Dátum: 2012. Március 04. - 10:20:25 »
0 Show voters
Köszönöm. De már Extreme Truckingot fordítom csak nincs hozzá ház rendszer

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal