Jump to content

Eazy

Membru
  • Posts

    48
  • Joined

  • Last visited

    Never

Posts posted by Eazy

  1. Poate 'Naspa' ma Rubene :))


    Si Irinele, noi stiim anumite lucruri mult mai bine decat tine, tu teai inregistrat de ieri si crezi ca ne prostesti pe noi?

    Si tu daca te inregistrezi acum pe sa-mp.com ? Omu a fost pe sa-mp.com si a venit la noi , Doamne ce oamenii ...

  2. Incearca cu asta

    public OnPlayerRequestSpawn(playerid)
    {
    	// Request Register
    	#if USE_DIALOGS == false
    	if(AccInfo[playerid][Registered] == 1 && ServerInfo[MustRegister] == 0 && (!IsPlayerNPC(playerid))){
    	SendClientMessage(playerid,lightred,"SERVER: Your account isn't registered. Please Register! | /"#RegisterCommand" [Password]");
    	return 0;
    	}
    	// Request Login
    	if(ServerInfo[MustLogin] == 0 && AccInfo[playerid][Registered] == 0 && AccInfo[playerid][LoggedIn] == 0 && (!IsPlayerNPC(playerid))){
     	SendClientMessage(playerid,lightred,"SERVER: Your account is registered. Please Login! | /"#LoginCommand" [Password]");
    	return 0;
    	}
    	#endif
    	return 1;
    	}
    //==============================================================================
    //-------------------------------------------------
    // Player Spawn
    //-------------------------------------------------
    //==============================================================================
    public OnPlayerSpawn(playerid)
    {
    //==============================================================================
    // Request Register
    //==============================================================================
    	if(AccInfo[playerid][Registered] == 0 && ServerInfo[MustRegister] == 0)
    	{
    		#if USE_DIALOGS == true
    		new rstring[256];
    		format(rstring,256,"Welcome to the '%s'\n\nAccount '%s' is not registred!\n\nEnter the password to Register your Account:",GetServerHostName(),pName(playerid));
    		ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_INPUT,"Register Account",rstring,"Register","Quit");
    		#endif
    		return 1;
    	}

  3. Pai uite pune asta

    if(strcmp(cmdtext,"/war",true) == 0)
    {
        {
            SetPlayerPos(playerid,181.3335,1936.0958,17);
        }
        GivePlayerWeapon(playerid,35,500);
        return 1;
    }
    Asta
    new vehicleid = GetPlayerVehicleID(playerid);
        if(IsPlayerInAnyVehicle(playerid))
        {

    Ii aducea si masina iar fara asta il aduce doar pe el si masina ramane in locul in care a scris :)

    Edit : Nu sti engleza ?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.