Jump to content
  • 0

pomoc Obejcty


arci224

Dotaz

Dobr´den takze mazu si objecty v map editoru hodim to pak do GM, ale ve hre se to nesmaze 

public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 13062, 266.3594, 20.1328, 5.4844, 0.25);
	RemoveBuildingForPlayer(playerid, 1440, 243.9531, 24.6172, 2.0156, 0.25);
	RemoveBuildingForPlayer(playerid, 3287, 259.8359, -4.0313, 6.1094, 0.25);
	RemoveBuildingForPlayer(playerid, 3296, 259.8359, -4.0313, 6.1094, 0.25);
	RemoveBuildingForPlayer(playerid, 1684, 276.8438, -2.4297, 2.8828, 0.25);
	RemoveBuildingForPlayer(playerid, 13059, 266.3594, 20.1328, 5.4844, 0.25);
	RemoveBuildingForPlayer(playerid, 1440, 255.2734, 22.7734, 1.8984, 0.25);
    SetPlayerColor(playerid, COLOR_GRAY);
    TextDrawShowForPlayer(playerid,Napis);
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Přihlášení",""COL_WHITE"Zadejte heslo pro přihlášení.","Přihlásit","Odejít");
    }
    else//pokud není registrován
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Zaregistrujte se prosím",""COL_WHITE"Zadejte vaše heslo pro nový účet.","Registrovat","Odejít");
    }
	return 1;
}

Code.

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...